diff --git a/charts/argocd-notifications/Chart.yaml b/charts/argocd-notifications/Chart.yaml index 0700ce4c..b03c0b38 100644 --- a/charts/argocd-notifications/Chart.yaml +++ b/charts/argocd-notifications/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 0.7.0 description: A Helm chart for ArgoCD notifications, an add-on to ArgoCD. name: argocd-notifications type: application -version: 1.0.0 +version: 1.0.1 home: https://github.com/argoproj/argo-helm icon: https://raw.githubusercontent.com/argoproj/argo/master/docs/assets/argo.png keywords: diff --git a/charts/argocd-notifications/templates/deployment.yaml b/charts/argocd-notifications/templates/deployment.yaml index 7a2b3efb..14fd9f48 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 }} @@ -13,8 +15,6 @@ spec: labels: {{- include "argocd-notifications.selectorLabels" . | nindent 8 }} spec: - strategy: - type: Recreate {{- with .Values.imagePullSecrets }} imagePullSecrets: {{- toYaml . | nindent 8 }} diff --git a/charts/argocd-notifications/values.yaml b/charts/argocd-notifications/values.yaml index 362156df..993b75bb 100644 --- a/charts/argocd-notifications/values.yaml +++ b/charts/argocd-notifications/values.yaml @@ -16,6 +16,9 @@ nameOverride: "argocd-notifications" nodeSelector: {} +updateStrategy: + type: Recreate + secret: # Whether helm chart creates controller secret create: true