Disable prune of retain is set

This commit is contained in:
Stefan Reimer 2020-07-07 13:54:45 +01:00
parent 8512b2db5f
commit 1fe510da6c
1 changed files with 2 additions and 0 deletions

View File

@ -34,7 +34,9 @@ spec:
syncPolicy:
automated:
{{- if not .retain }}
prune: true
{{- end }}
{{- if .selfheal }}
selfHeal: true
{{- end }}