From f1a96ad34e72b80c4d912886f566f7450a21d734 Mon Sep 17 00:00:00 2001 From: Nguyen Minh Tuan Date: Mon, 11 Nov 2024 07:24:52 +0000 Subject: [PATCH] refactor(argocd): re-enable argocd --- 100-argo-apps/100-argo-apps.yaml | 4 ++++ 100-argo-apps/120-k8s-namespaces.yaml | 2 +- 100-argo-apps/130-auth-manifests-k8s-cobi-tuana9a.yaml | 2 +- 100-argo-apps/210-knative-gke-singapore-tuana9a.yaml | 4 ++++ 100-argo-apps/210-knative-k8s-cobi-tuana9a.yaml | 4 ++++ 100-argo-apps/300-prometheus.yaml | 10 +++++----- 6 files changed, 19 insertions(+), 7 deletions(-) diff --git a/100-argo-apps/100-argo-apps.yaml b/100-argo-apps/100-argo-apps.yaml index fd88842..15a7306 100644 --- a/100-argo-apps/100-argo-apps.yaml +++ b/100-argo-apps/100-argo-apps.yaml @@ -13,3 +13,7 @@ spec: destination: namespace: argocd server: https://kubernetes.default.svc + syncPolicy: + automated: + prune: false + selfHeal: false diff --git a/100-argo-apps/120-k8s-namespaces.yaml b/100-argo-apps/120-k8s-namespaces.yaml index 044015c..56f0486 100644 --- a/100-argo-apps/120-k8s-namespaces.yaml +++ b/100-argo-apps/120-k8s-namespaces.yaml @@ -15,4 +15,4 @@ spec: syncPolicy: automated: prune: false - selfHeal: true + selfHeal: false diff --git a/100-argo-apps/130-auth-manifests-k8s-cobi-tuana9a.yaml b/100-argo-apps/130-auth-manifests-k8s-cobi-tuana9a.yaml index b89906d..f0d1e71 100644 --- a/100-argo-apps/130-auth-manifests-k8s-cobi-tuana9a.yaml +++ b/100-argo-apps/130-auth-manifests-k8s-cobi-tuana9a.yaml @@ -15,4 +15,4 @@ spec: syncPolicy: automated: prune: false - selfHeal: true + selfHeal: false diff --git a/100-argo-apps/210-knative-gke-singapore-tuana9a.yaml b/100-argo-apps/210-knative-gke-singapore-tuana9a.yaml index 699705a..c003242 100644 --- a/100-argo-apps/210-knative-gke-singapore-tuana9a.yaml +++ b/100-argo-apps/210-knative-gke-singapore-tuana9a.yaml @@ -12,3 +12,7 @@ # targetRevision: main # destination: # server: "https://34.142.170.198" +# syncPolicy: +# automated: +# prune: false +# selfHeal: false diff --git a/100-argo-apps/210-knative-k8s-cobi-tuana9a.yaml b/100-argo-apps/210-knative-k8s-cobi-tuana9a.yaml index 640dfcc..3666af4 100644 --- a/100-argo-apps/210-knative-k8s-cobi-tuana9a.yaml +++ b/100-argo-apps/210-knative-k8s-cobi-tuana9a.yaml @@ -12,3 +12,7 @@ spec: targetRevision: main destination: server: "https://kubernetes.default.svc" + syncPolicy: + automated: + prune: false + selfHeal: false diff --git a/100-argo-apps/300-prometheus.yaml b/100-argo-apps/300-prometheus.yaml index f799198..dc6061c 100644 --- a/100-argo-apps/300-prometheus.yaml +++ b/100-argo-apps/300-prometheus.yaml @@ -21,8 +21,8 @@ spec: destination: server: "https://kubernetes.default.svc" namespace: prometheus - # NOTE: wait until https://github.com/prometheus/alertmanager/pull/3728 being released - # syncPolicy: - # automated: - # prune: false - # selfHeal: true + # NOTE: wait https://github.com/prometheus/alertmanager/pull/3728 to be released + syncPolicy: + automated: + prune: false + selfHeal: false