From 007edbef4d2794e1b2c759b99c1929b7d284881d Mon Sep 17 00:00:00 2001 From: Georgi Ivanov Date: Fri, 21 Feb 2020 14:31:47 +0000 Subject: [PATCH] fix: change deployment strategy to recreate (#49) --- deploy/helm/credstash-operator/templates/deployment.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy/helm/credstash-operator/templates/deployment.yaml b/deploy/helm/credstash-operator/templates/deployment.yaml index 9e1a399..ecbfb18 100644 --- a/deploy/helm/credstash-operator/templates/deployment.yaml +++ b/deploy/helm/credstash-operator/templates/deployment.yaml @@ -15,6 +15,8 @@ spec: name: {{ include "credstash-operator.fullname" . }} {{- include "credstash-operator.selectorLabels" . | nindent 8 }} spec: + strategy: + type: Recreate serviceAccountName: {{ include "credstash-operator.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}