Skip to content

Commit

Permalink
linter happy?
Browse files Browse the repository at this point in the history
  • Loading branch information
r0zbot committed Sep 11, 2023
1 parent 4483ec3 commit 53f2e0f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion api/v1alpha1/mongodbcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/samples/airlock_v1alpha1_mongodbcluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53f2e0f

Please sign in to comment.