diff --git a/ntfy/templates/deployment.yaml b/ntfy/templates/deployment.yaml index 14e1d8d..7636ccc 100644 --- a/ntfy/templates/deployment.yaml +++ b/ntfy/templates/deployment.yaml @@ -11,6 +11,10 @@ spec: selector: matchLabels: {{- include "ntfy.selectorLabels" . | nindent 6 }} + strategy: + {{- with .Values.updateStrategy }} + {{- toYaml . | nindent 4 }} + {{- end }} template: metadata: annotations: @@ -28,10 +32,6 @@ spec: imagePullSecrets: {{- toYaml . | nindent 8 }} {{- end }} - {{- with .Values.updateStrategy }} - strategy: - {{- toYaml . | nindent 8 }} - {{- end }} serviceAccountName: {{ include "ntfy.serviceAccountName" . }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }}