diff --git a/charts/planka/templates/deployment.yaml b/charts/planka/templates/deployment.yaml index 60457a64..3365cfd8 100644 --- a/charts/planka/templates/deployment.yaml +++ b/charts/planka/templates/deployment.yaml @@ -11,6 +11,10 @@ spec: selector: matchLabels: {{- include "planka.selectorLabels" . | nindent 6 }} + {{- if .Values.persistence.enabled }} + strategy: + type: Recreate + {{- end }} template: metadata: {{- with .Values.podAnnotations }}