You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When preventDeletion is set to false in the tenant spec, this field is deleted in the applied spec, because the default is false. Due to this, some of our tenants keep out of sync in our GitOps tooling (ArgoCD), because Argo tries to add preventDeletion every time, and it gets deleted by Capsule.
Other than that, I think when you specifically set a value (even it's false), it should be added in the config spec.
Helm Chart version: (helm list -n capsule-system)
Helm chart 0.6.2
Bug description
preventDeletion
is deleted from thetenant
spec when it's onfalse
.How to reproduce
Steps to reproduce the behavior:
When
preventDeletion
is set to false in thetenant
spec, this field is deleted in the applied spec, because the default is false. Due to this, some of our tenants keepout of sync
in our GitOps tooling (ArgoCD), because Argo tries to addpreventDeletion
every time, and it gets deleted by Capsule.Other than that, I think when you specifically set a value (even it's false), it should be added in the config spec.
Helm Chart version: (
helm list -n capsule-system
)Helm chart 0.6.2
Kubernetes version: (
kubectl version
)OpenShift 4.14.18
The text was updated successfully, but these errors were encountered: