From 301b972787065768ed42c8d6b2ef5492f0d4f9a3 Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Tue, 7 Jul 2020 13:54:45 +0100 Subject: [PATCH] Disable prune of retain is set --- charts/kubezero/templates/_app.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/charts/kubezero/templates/_app.yaml b/charts/kubezero/templates/_app.yaml index 0f1226ec..4888b688 100644 --- a/charts/kubezero/templates/_app.yaml +++ b/charts/kubezero/templates/_app.yaml @@ -34,7 +34,9 @@ spec: syncPolicy: automated: + {{- if not .retain }} prune: true + {{- end }} {{- if .selfheal }} selfHeal: true {{- end }}