# App-of-apps root — apply after Argo CD is running (optional). # # 1. Set spec.source.repoURL (and targetRevision — **HEAD** tracks the remote default branch) to this repo. # 2. kubectl apply -f clusters/noble/bootstrap/argocd/root-application.yaml # # **clusters/noble/apps** holds optional **Application** manifests. **noble_platform** applies # **clusters/noble/bootstrap/kustomization.yaml** (namespaces + static YAML), Helm installs, then # **applications_post_platform.yml** applies **bootstrap-root-application.yaml** and **argocd/app-of-apps/**. # **noble-bootstrap-root** tracks bootstrap kustomize (**manual** sync until README §5). # apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: noble-root namespace: argocd # Path suffix satisfies Kubernetes’ domain-qualified finalizer guidance (avoids kubectl warning). # Background cascade: Application deletes after resources are removed asynchronously. # See: https://argo-cd.readthedocs.io/en/stable/user-guide/app_deletion/#about-the-deletion-finalizer finalizers: - resources-finalizer.argocd.argoproj.io/background spec: project: default source: repoURL: https://gitea.pcenicni.ca/gsdavidp/home-server.git targetRevision: HEAD path: clusters/noble/apps destination: server: https://kubernetes.default.svc namespace: argocd syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true