From 44e32e3109df78b43f2a3f77fc3f6fd36702f09b Mon Sep 17 00:00:00 2001 From: Deniz Erdogan Date: Fri, 2 Aug 2024 13:30:04 +0200 Subject: [PATCH 1/3] staging: uninstall ui release --- k8s/helmfile/helmfile.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/helmfile/helmfile.yaml b/k8s/helmfile/helmfile.yaml index 8f2ddd5eb..089e785c6 100644 --- a/k8s/helmfile/helmfile.yaml +++ b/k8s/helmfile/helmfile.yaml @@ -165,7 +165,7 @@ releases: <<: *default_release - name: ui - installed: {{ ne .Environment.Name "local" | toYaml }} + installed: {{ eq .Environment.Name "production" | toYaml }} namespace: default chart: wbstack/ui version: 0.3.1 From f440ad2ba2775a4a592c2ee6eda17bdaa6a35754 Mon Sep 17 00:00:00 2001 From: Deniz Erdogan Date: Fri, 2 Aug 2024 13:30:23 +0200 Subject: [PATCH 2/3] staging: install argo app-of-apps --- k8s/helmfile/helmfile.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k8s/helmfile/helmfile.yaml b/k8s/helmfile/helmfile.yaml index 089e785c6..80d9c3ea1 100644 --- a/k8s/helmfile/helmfile.yaml +++ b/k8s/helmfile/helmfile.yaml @@ -107,7 +107,7 @@ releases: - name: argocd-config namespace: argocd chart: ../../charts/argocd-config - installed: {{ eq .Environment.Name "local" | toYaml }} + installed: {{ ne .Environment.Name "production" | toYaml }} <<: *default_release - name: redirects From 3f4c0bfe0ba92bad8b4b6ae0c24fd2a75deaad79 Mon Sep 17 00:00:00 2001 From: Deniz Erdogan Date: Tue, 20 Aug 2024 14:47:17 +0200 Subject: [PATCH 3/3] disable argo prune setting --- charts/argocd-apps/templates/wbaas-ui.yaml | 2 +- charts/argocd-config/templates/app-of-apps.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/argocd-apps/templates/wbaas-ui.yaml b/charts/argocd-apps/templates/wbaas-ui.yaml index acc5c3009..d75ae4b8c 100644 --- a/charts/argocd-apps/templates/wbaas-ui.yaml +++ b/charts/argocd-apps/templates/wbaas-ui.yaml @@ -25,4 +25,4 @@ spec: automated: # disable self-healing for local env so we can use skaffold selfHeal: {{- if eq .Values.environment "local" }} false {{ else }} true {{ end}} - prune: true + prune: false diff --git a/charts/argocd-config/templates/app-of-apps.yaml b/charts/argocd-config/templates/app-of-apps.yaml index bd3fdd5f1..9b8ca0d35 100644 --- a/charts/argocd-config/templates/app-of-apps.yaml +++ b/charts/argocd-config/templates/app-of-apps.yaml @@ -16,5 +16,5 @@ spec: {{ toYaml .Values | indent 8 }} syncPolicy: automated: - prune: true + prune: false selfHeal: true