From e12a5288d25709083ea941373d9132077f2f4ff1 Mon Sep 17 00:00:00 2001 From: John Grimes Date: Thu, 17 Oct 2024 09:37:49 +1000 Subject: [PATCH] Add ability to configure update strategy --- aidbox/templates/deployment.yaml | 1 + aidbox/values.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/aidbox/templates/deployment.yaml b/aidbox/templates/deployment.yaml index 0528a1e..4c4b6f3 100644 --- a/aidbox/templates/deployment.yaml +++ b/aidbox/templates/deployment.yaml @@ -11,6 +11,7 @@ spec: selector: matchLabels: {{- include "aidbox.selectorLabels" . | nindent 6 }} + strategy: {{ toYaml .Values.updateStrategy | nindent 4 }} template: metadata: annotations: diff --git a/aidbox/values.yaml b/aidbox/values.yaml index a81510b..ca045a1 100644 --- a/aidbox/values.yaml +++ b/aidbox/values.yaml @@ -105,3 +105,6 @@ extraEnvFromSecrets: [] serviceAccount: # -- ServiceAccount to use name: "" + +updateStrategy: + type: RollingUpdate