From 2113642f3c757fa17cb3a9ca15764f1cd55033cc Mon Sep 17 00:00:00 2001 From: Mukul Sharma Date: Mon, 31 Aug 2026 01:02:22 +0530 Subject: [PATCH] add --- app-of-projects.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 app-of-projects.yaml diff --git a/app-of-projects.yaml b/app-of-projects.yaml new file mode 100644 index 0000000..ad9fcdd --- /dev/null +++ b/app-of-projects.yaml @@ -0,0 +1,30 @@ +# Bootstrap Application, applied once by hand (like incubator/*.yaml) — +# ArgoCD can't sync its own entry points. Syncs everything under projects/ +# so AppProject objects (like "devops") are GitOps-managed instead of a +# manual one-off kubectl apply. Mirrors devops-argo-config's +# app-of-projects.yaml, which this repo never had an equivalent of. +# +# Uses the built-in "default" project (always exists) — no chicken-and-egg +# problem, since what it deploys (AppProject CRs) doesn't itself require a +# pre-existing project. +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: app-of-projects + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + repoURL: 'http://gitea.192.168.1.7.nip.io/mukul/devops-infra-argo-config.git' + targetRevision: main + path: projects + directory: + recurse: true + destination: + name: in-cluster + namespace: argocd + syncPolicy: + automated: + prune: true