From a9fa6c168353b4fb8798e48e9155bfe7560d55eb Mon Sep 17 00:00:00 2001 From: SdgJlbl Date: Thu, 12 Sep 2024 18:00:31 +0200 Subject: [PATCH] chore: change updateStrategy of the server and the registry Signed-off-by: SdgJlbl --- charts/substra-backend/templates/deployment-server.yaml | 2 ++ charts/substra-backend/values.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/charts/substra-backend/templates/deployment-server.yaml b/charts/substra-backend/templates/deployment-server.yaml index cfb6ca65c..d41468e86 100644 --- a/charts/substra-backend/templates/deployment-server.yaml +++ b/charts/substra-backend/templates/deployment-server.yaml @@ -12,6 +12,8 @@ spec: matchLabels: app.kubernetes.io/name: {{ template "substra.name" . }}-server {{ include "substra.selectorLabels" . | nindent 8}} + strategy: + type: Recreate template: metadata: labels: diff --git a/charts/substra-backend/values.yaml b/charts/substra-backend/values.yaml index 0e5f19c49..a0ebac0cd 100644 --- a/charts/substra-backend/values.yaml +++ b/charts/substra-backend/values.yaml @@ -1077,6 +1077,8 @@ docker-registry: runAsNonRoot: true seccompProfile: type: RuntimeDefault + updateStrategy: + type: Recreate ## @skip minio ##