diff --git a/charts/argocd-notifications/templates/deployment.yaml b/charts/argocd-notifications/templates/deployment.yaml index 7a2b3efb..396a514b 100644 --- a/charts/argocd-notifications/templates/deployment.yaml +++ b/charts/argocd-notifications/templates/deployment.yaml @@ -5,6 +5,8 @@ metadata: labels: {{- include "argocd-notifications.labels" . | nindent 4 }} spec: + strategy: + {{- .Values.updateStrategy | toYaml | nindent 4 }} selector: matchLabels: {{- include "argocd-notifications.selectorLabels" . | nindent 6 }} @@ -12,9 +14,6 @@ spec: metadata: labels: {{- include "argocd-notifications.selectorLabels" . | nindent 8 }} - spec: - strategy: - type: Recreate {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }}