From b9503b73e4bac51cdfc6dc9328ac24fb725bc2cb Mon Sep 17 00:00:00 2001 From: tobiashvmz Date: Wed, 4 Feb 2026 12:26:27 +0000 Subject: [PATCH] make udpate strategy configurable --- templates/deployment.yaml | 2 ++ values.yaml | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 755daf0..aae57e6 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -110,3 +110,5 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + strategy: + type: {{ .Values.updateStrategy.type }} \ No newline at end of file diff --git a/values.yaml b/values.yaml index a40c33c..09ff6a6 100644 --- a/values.yaml +++ b/values.yaml @@ -88,6 +88,10 @@ persistence: # -- actual storageClass storageClass: "" +# when persistence.enabled is set to true, strategy should be changed to 'Recreate' +updateStrategy: + type: RollingUpdate + # -- @ignore resources: {} # We usually recommend not to specify default resources and to leave this as a conscious