Skip to content

Commit

Permalink
Revert "Add support for deletion protection flags (#239)"
Browse files Browse the repository at this point in the history
This reverts commit 12f59b0.
  • Loading branch information
josvazg committed Nov 7, 2023
1 parent f441643 commit 8021f9c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions charts/atlas-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ spec:
- --atlas-domain={{ .Values.atlasURI }}
- "--health-probe-bind-address=:8081"
- "--metrics-bind-address=:8080"
- --object-deletion-protection={{ .Values.objectDeletionProtection }}
- --subobject-deletion-protection={{ .Values.subobjectDeletionProtection }}
- "--leader-elect"
command:
- /manager
Expand Down
5 changes: 0 additions & 5 deletions charts/atlas-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ mongodb-atlas-operator-crds:
# atlasURI is the URI of the MongoDB Atlas. You should not change this value.
atlasURI: https://cloud.mongodb.com/

# objectDeletionProtection defines the operator will not delete Atlas resource when a Custom Resource is deleted
objectDeletionProtection: true
# subobjectDeletionProtection defines that the operator will not overwrite (and consequently delete) subresources that were not previously created by the operator
subobjectDeletionProtection: true

# globalConnectionSecret is a default "global" Secret containing Atlas
# authentication information.
#
Expand Down

0 comments on commit 8021f9c

Please sign in to comment.