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 diff --git a/k8s/helmfile/helmfile.yaml b/k8s/helmfile/helmfile.yaml index 8f2ddd5eb..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 @@ -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