From 8021f9cbfe590ee58babd9784bd919135cd3c1b9 Mon Sep 17 00:00:00 2001 From: Jose Vazquez Date: Tue, 7 Nov 2023 16:26:51 +0100 Subject: [PATCH] Revert "Add support for deletion protection flags (#239)" This reverts commit 12f59b02590a3f6421d244fb4a59fd5a9ae1390e. --- charts/atlas-operator/templates/deployment.yaml | 2 -- charts/atlas-operator/values.yaml | 5 ----- 2 files changed, 7 deletions(-) diff --git a/charts/atlas-operator/templates/deployment.yaml b/charts/atlas-operator/templates/deployment.yaml index f2dd099a..e08eec67 100644 --- a/charts/atlas-operator/templates/deployment.yaml +++ b/charts/atlas-operator/templates/deployment.yaml @@ -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 diff --git a/charts/atlas-operator/values.yaml b/charts/atlas-operator/values.yaml index 93f8d93d..c2eb8d04 100644 --- a/charts/atlas-operator/values.yaml +++ b/charts/atlas-operator/values.yaml @@ -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. #