From 163cf43b6a587ba71197308c1c3fe543a45fa84c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=A9o=20M=C3=A9vollon?= Date: Wed, 24 Jul 2024 11:47:28 +0200 Subject: [PATCH] fix: strategyType for redis --- plugins/contrib/charts/redis/templates/deployment.yaml | 4 +++- plugins/contrib/charts/redis/values.yaml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/contrib/charts/redis/templates/deployment.yaml b/plugins/contrib/charts/redis/templates/deployment.yaml index b1eb68057..e0e0210b4 100644 --- a/plugins/contrib/charts/redis/templates/deployment.yaml +++ b/plugins/contrib/charts/redis/templates/deployment.yaml @@ -14,6 +14,8 @@ metadata: {{- end }} spec: replicas: 1 + strategy: + type: {{ .Values.strategyType }} selector: matchLabels: component: {{ (or .Values.component .Chart.Name) | lower }} @@ -96,4 +98,4 @@ spec: memory: 128Mi securityContext: allowPrivilegeEscalation: false - \ No newline at end of file + diff --git a/plugins/contrib/charts/redis/values.yaml b/plugins/contrib/charts/redis/values.yaml index c44c57fcb..321ab938b 100644 --- a/plugins/contrib/charts/redis/values.yaml +++ b/plugins/contrib/charts/redis/values.yaml @@ -8,3 +8,4 @@ volumes: [] volumeMounts: [] ~forceRestart: false annotations: {} +strategyType: RollingUpdate