diff --git a/api/v1alpha1/mongodbcluster_types.go b/api/v1alpha1/mongodbcluster_types.go index 6aa95c0..944e7bd 100644 --- a/api/v1alpha1/mongodbcluster_types.go +++ b/api/v1alpha1/mongodbcluster_types.go @@ -50,7 +50,7 @@ type MongoDBClusterSpec struct { UseAtlasApi bool `json:"useAtlasApi,omitempty"` // If this is set, along with useAtlasApi, all the kubernetes nodes on the cluster will be added to the Atlas firewall. The only available value right now is "rancher-annotation", which uses the rke.cattle.io/external-ip annotation. - AtlasNodeIPAccessStrategy string `json:"atlasNodeIPAccessStrategy,omitempty"` + AtlasNodeIPAccessStrategy string `json:"atlasNodeIpAccessStrategy,omitempty"` } // MongoDBClusterStatus defines the observed state of MongoDBCluster diff --git a/config/crd/bases/airlock.cloud.rocket.chat_mongodbclusters.yaml b/config/crd/bases/airlock.cloud.rocket.chat_mongodbclusters.yaml index 532d626..5a89405 100644 --- a/config/crd/bases/airlock.cloud.rocket.chat_mongodbclusters.yaml +++ b/config/crd/bases/airlock.cloud.rocket.chat_mongodbclusters.yaml @@ -41,7 +41,7 @@ spec: type: object spec: properties: - atlasNodeIPAccessStrategy: + atlasNodeIpAccessStrategy: description: If this is set, along with useAtlasApi, all the kubernetes nodes on the cluster will be added to the Atlas firewall. The only available value right now is "rancher-annotation", which uses the diff --git a/config/samples/airlock_v1alpha1_mongodbcluster.yaml b/config/samples/airlock_v1alpha1_mongodbcluster.yaml index 8feb9d0..7333503 100644 --- a/config/samples/airlock_v1alpha1_mongodbcluster.yaml +++ b/config/samples/airlock_v1alpha1_mongodbcluster.yaml @@ -36,7 +36,7 @@ spec: userNamePrefix: test-use1- # Optional. If this is set, along with useAtlasApi, all the kubernetes nodes on the cluster will be added to the Atlas firewall. The only available value right now is "rancher-annotation", which uses the rke.cattle.io/external-ip annotation. - atlasNodeIPAccessStrategy: rancher-annotation + atlasNodeIpAccessStrategy: rancher-annotation --- apiVersion: v1