From 52cd477ba1c2c758b43a90d7638306a367697821 Mon Sep 17 00:00:00 2001 From: Marius Ensrud Date: Wed, 31 Jan 2024 18:18:44 +0100 Subject: [PATCH] fix recreate --- charts/omada-controller/5.13/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/omada-controller/5.13/templates/deployment.yaml b/charts/omada-controller/5.13/templates/deployment.yaml index bffadda..d15731a 100644 --- a/charts/omada-controller/5.13/templates/deployment.yaml +++ b/charts/omada-controller/5.13/templates/deployment.yaml @@ -11,6 +11,8 @@ spec: selector: matchLabels: {{- include "omada-controller.selectorLabels" . | nindent 6 }} + strategy: + type: Recreate template: metadata: {{- with .Values.podAnnotations }} @@ -27,8 +29,6 @@ spec: serviceAccountName: {{ include "omada-controller.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} - strategy: - type: Recreate containers: - name: {{ .Chart.Name }} securityContext: