# 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-http.gitea.svc.cluster.local:3000/gitadmin/devops-infra-argo-config-gcp.git' targetRevision: main path: projects directory: recurse: true destination: name: in-cluster namespace: argocd syncPolicy: automated: prune: true