diff --git a/helm/_backend/templates/deployment.yaml b/helm/_backend/templates/deployment.yaml index adcf50f8..29d38a71 100644 --- a/helm/_backend/templates/deployment.yaml +++ b/helm/_backend/templates/deployment.yaml @@ -12,6 +12,8 @@ spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} + updateStrategy: + type: Recreate selector: matchLabels: {{- include "app.selectorLabels" . | nindent 6 }} diff --git a/helm/_frontend/templates/deployment.yaml b/helm/_frontend/templates/deployment.yaml index 0a464085..ed2bcf77 100644 --- a/helm/_frontend/templates/deployment.yaml +++ b/helm/_frontend/templates/deployment.yaml @@ -12,6 +12,8 @@ spec: {{- if not .Values.autoscaling.enabled }} replicas: {{ .Values.replicaCount }} {{- end }} + updateStrategy: + type: Recreate selector: matchLabels: {{- include "app.selectorLabels" . | nindent 6 }}