diff --git a/mina-daemon/templates/deployment.yaml b/mina-daemon/templates/deployment.yaml index b0c1a2e..b27072a 100644 --- a/mina-daemon/templates/deployment.yaml +++ b/mina-daemon/templates/deployment.yaml @@ -10,6 +10,9 @@ spec: selector: matchLabels: app: {{ .Release.Name }} + {{- if .Values.updateStrategy }} + strategy: {{- toYaml .Values.updateStrategy | nindent 4 }} + {{- end }} template: metadata: labels: @@ -613,6 +616,3 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} - {{- if .Values.updateStrategy }} - strategy: {{- toYaml .Values.updateStrategy | nindent 8 }} - {{- end }}