From 4386eca8c58f14762b4f95db420b257b8818ac4f Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Mon, 16 Mar 2026 07:58:38 +0200 Subject: [PATCH] Enable auto sync on all apps --- argocd-apps/argocd.yaml | 5 +++++ argocd-apps/bitnami-minio.yaml | 7 +++++++ argocd-apps/caretta.yaml | 5 +++++ argocd-apps/cert-manager.yaml | 5 +++++ argocd-apps/cloudflared.yaml | 10 +++++++++- argocd-apps/headlamp.yaml | 3 +++ argocd-apps/keycloak.yaml | 8 +++++++- argocd-apps/local-path-provisioner.yaml | 8 ++++++-- argocd-apps/metallb-base.yaml | 8 ++++++++ argocd-apps/metallb-config.yaml | 8 ++++++++ argocd-apps/nfs-subdir.yaml | 7 +++++++ argocd-apps/nvidia-device-plugin.yaml | 7 +++++-- argocd-apps/radar.yaml | 7 +++++++ argocd-apps/raw-resources.yaml | 4 ++-- 14 files changed, 84 insertions(+), 8 deletions(-) diff --git a/argocd-apps/argocd.yaml b/argocd-apps/argocd.yaml index 64cd565..4dc5160 100644 --- a/argocd-apps/argocd.yaml +++ b/argocd-apps/argocd.yaml @@ -3,6 +3,8 @@ kind: Application metadata: name: argocd namespace: argocd + labels: + env: infra spec: project: infra source: @@ -16,5 +18,8 @@ spec: server: https://kubernetes.default.svc namespace: argocd syncPolicy: + automated: + prune: true + selfHeal: true syncOptions: - CreateNamespace=true diff --git a/argocd-apps/bitnami-minio.yaml b/argocd-apps/bitnami-minio.yaml index d974486..d1747ac 100644 --- a/argocd-apps/bitnami-minio.yaml +++ b/argocd-apps/bitnami-minio.yaml @@ -3,6 +3,8 @@ kind: Application metadata: name: minio-bitnami namespace: argocd + labels: + env: infra spec: project: infra source: @@ -15,3 +17,8 @@ spec: destination: server: https://kubernetes.default.svc namespace: infra + syncPolicy: + automated: + prune: true + selfHeal: true + diff --git a/argocd-apps/caretta.yaml b/argocd-apps/caretta.yaml index 0535fdf..d209400 100644 --- a/argocd-apps/caretta.yaml +++ b/argocd-apps/caretta.yaml @@ -3,6 +3,8 @@ kind: Application metadata: name: caretta namespace: argocd + labels: + env: infra spec: project: infra source: @@ -16,5 +18,8 @@ spec: server: https://kubernetes.default.svc namespace: caretta syncPolicy: + automated: + prune: true + selfHeal: true syncOptions: - CreateNamespace=true diff --git a/argocd-apps/cert-manager.yaml b/argocd-apps/cert-manager.yaml index 6ab4042..7c7ba8e 100644 --- a/argocd-apps/cert-manager.yaml +++ b/argocd-apps/cert-manager.yaml @@ -3,6 +3,8 @@ kind: Application metadata: name: cert-manager namespace: argocd + labels: + env: infra spec: project: infra source: @@ -16,5 +18,8 @@ spec: server: https://kubernetes.default.svc namespace: cert-manager syncPolicy: + automated: + prune: true + selfHeal: true syncOptions: - CreateNamespace=true diff --git a/argocd-apps/cloudflared.yaml b/argocd-apps/cloudflared.yaml index 6d96996..a179203 100644 --- a/argocd-apps/cloudflared.yaml +++ b/argocd-apps/cloudflared.yaml @@ -3,6 +3,8 @@ kind: Application metadata: name: cloudflared namespace: argocd + labels: + env: infra spec: project: infra destination: @@ -14,4 +16,10 @@ spec: path: charts/cloudflare-tunnel helm: valueFiles: - - ../../manifests/cloudflared/values.yaml \ No newline at end of file + - ../../manifests/cloudflared/values.yaml + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true \ No newline at end of file diff --git a/argocd-apps/headlamp.yaml b/argocd-apps/headlamp.yaml index b4d0959..69fb189 100644 --- a/argocd-apps/headlamp.yaml +++ b/argocd-apps/headlamp.yaml @@ -3,6 +3,8 @@ kind: Application metadata: name: headlamp namespace: argocd + labels: + env: infra spec: project: infra source: @@ -19,3 +21,4 @@ spec: automated: prune: true selfHeal: true + diff --git a/argocd-apps/keycloak.yaml b/argocd-apps/keycloak.yaml index 83cc7c8..88c83eb 100644 --- a/argocd-apps/keycloak.yaml +++ b/argocd-apps/keycloak.yaml @@ -3,6 +3,8 @@ kind: Application metadata: name: keycloak namespace: argocd + labels: + env: infra spec: project: infra source: @@ -14,4 +16,8 @@ spec: - ../../manifests/keycloak/values.yaml destination: server: https://kubernetes.default.svc - namespace: infra \ No newline at end of file + namespace: infra + syncPolicy: + automated: + prune: true + selfHeal: true diff --git a/argocd-apps/local-path-provisioner.yaml b/argocd-apps/local-path-provisioner.yaml index 3241289..7fa33f2 100644 --- a/argocd-apps/local-path-provisioner.yaml +++ b/argocd-apps/local-path-provisioner.yaml @@ -3,6 +3,8 @@ kind: Application metadata: name: local-path-provisioner namespace: argocd + labels: + env: infra spec: project: infra destination: @@ -16,5 +18,7 @@ spec: valueFiles: - ../../manifests/local-path-provisioner/values.yaml syncPolicy: - syncOptions: - - CreateNamespace=true + automated: + prune: true + selfHeal: true + diff --git a/argocd-apps/metallb-base.yaml b/argocd-apps/metallb-base.yaml index fac2f62..963a52d 100644 --- a/argocd-apps/metallb-base.yaml +++ b/argocd-apps/metallb-base.yaml @@ -3,6 +3,8 @@ kind: Application metadata: name: metallb-base namespace: argocd + labels: + env: infra spec: project: infra source: @@ -23,3 +25,9 @@ spec: kind: CustomResourceDefinition jsonPointers: - /spec/conversion/webhook/clientConfig/caBundle + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/argocd-apps/metallb-config.yaml b/argocd-apps/metallb-config.yaml index 114fa4f..3a66fbf 100644 --- a/argocd-apps/metallb-config.yaml +++ b/argocd-apps/metallb-config.yaml @@ -3,6 +3,8 @@ kind: Application metadata: name: metallb-config namespace: argocd + labels: + env: infra spec: project: infra source: @@ -12,3 +14,9 @@ spec: destination: server: https://kubernetes.default.svc namespace: metallb-system + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true diff --git a/argocd-apps/nfs-subdir.yaml b/argocd-apps/nfs-subdir.yaml index 9c440ff..1949479 100644 --- a/argocd-apps/nfs-subdir.yaml +++ b/argocd-apps/nfs-subdir.yaml @@ -3,6 +3,8 @@ kind: Application metadata: name: nfs-subdir namespace: argocd + labels: + env: infra spec: project: infra source: @@ -15,3 +17,8 @@ spec: destination: server: https://kubernetes.default.svc namespace: infra + syncPolicy: + automated: + prune: true + selfHeal: true + diff --git a/argocd-apps/nvidia-device-plugin.yaml b/argocd-apps/nvidia-device-plugin.yaml index 0f47cf0..cf1be0b 100644 --- a/argocd-apps/nvidia-device-plugin.yaml +++ b/argocd-apps/nvidia-device-plugin.yaml @@ -3,6 +3,8 @@ kind: Application metadata: name: nvidia-device-plugin namespace: argocd + labels: + env: infra spec: project: infra source: @@ -13,5 +15,6 @@ spec: server: https://kubernetes.default.svc namespace: kube-system syncPolicy: - syncOptions: - - CreateNamespace=false \ No newline at end of file + automated: + prune: true + selfHeal: true diff --git a/argocd-apps/radar.yaml b/argocd-apps/radar.yaml index 0471a04..e352719 100644 --- a/argocd-apps/radar.yaml +++ b/argocd-apps/radar.yaml @@ -3,6 +3,8 @@ kind: Application metadata: name: radar namespace: argocd + labels: + env: infra spec: project: infra source: @@ -15,3 +17,8 @@ spec: destination: server: https://kubernetes.default.svc namespace: infra + syncPolicy: + automated: + prune: true + selfHeal: true + diff --git a/argocd-apps/raw-resources.yaml b/argocd-apps/raw-resources.yaml index fe5d22f..683de6b 100644 --- a/argocd-apps/raw-resources.yaml +++ b/argocd-apps/raw-resources.yaml @@ -3,6 +3,8 @@ kind: Application metadata: name: raw-resources namespace: argocd + labels: + env: infra spec: project: infra source: @@ -15,8 +17,6 @@ spec: server: https://kubernetes.default.svc namespace: infra syncPolicy: - syncOptions: - - CreateNamespace=true automated: prune: true selfHeal: true