From e07a877e73d8f7c2a6645a80dd0351f22409c912 Mon Sep 17 00:00:00 2001 From: Jesse Suen Date: Fri, 22 Mar 2019 11:50:15 -0700 Subject: [PATCH] Use Recreate deployment strategy for controller (#1315) --- .../argocd-application-controller-deployment.yaml | 2 ++ manifests/ha/install.yaml | 2 ++ manifests/ha/namespace-install.yaml | 2 ++ manifests/install.yaml | 2 ++ manifests/namespace-install.yaml | 2 ++ 5 files changed, 10 insertions(+) diff --git a/manifests/base/application-controller/argocd-application-controller-deployment.yaml b/manifests/base/application-controller/argocd-application-controller-deployment.yaml index d98ca3a80a..56ae41853b 100644 --- a/manifests/base/application-controller/argocd-application-controller-deployment.yaml +++ b/manifests/base/application-controller/argocd-application-controller-deployment.yaml @@ -7,6 +7,8 @@ metadata: app.kubernetes.io/component: application-controller name: argocd-application-controller spec: + strategy: + type: Recreate selector: matchLabels: app.kubernetes.io/name: argocd-application-controller diff --git a/manifests/ha/install.yaml b/manifests/ha/install.yaml index ccb181b219..f0c2d846fe 100644 --- a/manifests/ha/install.yaml +++ b/manifests/ha/install.yaml @@ -675,6 +675,8 @@ spec: selector: matchLabels: app.kubernetes.io/name: argocd-application-controller + strategy: + type: Recreate template: metadata: labels: diff --git a/manifests/ha/namespace-install.yaml b/manifests/ha/namespace-install.yaml index 113ce031b7..fd179874f0 100644 --- a/manifests/ha/namespace-install.yaml +++ b/manifests/ha/namespace-install.yaml @@ -590,6 +590,8 @@ spec: selector: matchLabels: app.kubernetes.io/name: argocd-application-controller + strategy: + type: Recreate template: metadata: labels: diff --git a/manifests/install.yaml b/manifests/install.yaml index 5048b1ce99..e9b2ec1403 100644 --- a/manifests/install.yaml +++ b/manifests/install.yaml @@ -446,6 +446,8 @@ spec: selector: matchLabels: app.kubernetes.io/name: argocd-application-controller + strategy: + type: Recreate template: metadata: labels: diff --git a/manifests/namespace-install.yaml b/manifests/namespace-install.yaml index edebceb194..a9a36544a2 100644 --- a/manifests/namespace-install.yaml +++ b/manifests/namespace-install.yaml @@ -361,6 +361,8 @@ spec: selector: matchLabels: app.kubernetes.io/name: argocd-application-controller + strategy: + type: Recreate template: metadata: labels: