Disable prune of retain is set

This commit is contained in:
Stefan Reimer 2020-07-07 13:54:45 +01:00
parent 06c295b4f4
commit 301b972787

View File

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