From ee34c7dbb8c5ea5119eccbf4b0517edcf6573e0b Mon Sep 17 00:00:00 2001 From: Aline Fauquette <36480019+alineIntersec@users.noreply.github.com> Date: Fri, 13 Sep 2024 22:54:46 +0200 Subject: [PATCH] feat: Change update strategy in case of persistence in Helm (#876) --- charts/planka/templates/deployment.yaml | 4 ++++ 1 file changed, 4 insertions(+) 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 }}