# Phase 1 entry point — the app-of-apps root. # Apply once (kubectl apply -k k8s/argocd/root) then sync it; it renders every # Application manifest under k8s/argocd/apps/ and those deploy the whole cluster # in sync-wave order. Requires Forgejo to be serving the repo (Phase 0 first). apiVersion: argoproj.io/v1alpha1 kind: Application metadata: name: homelab-root namespace: argocd annotations: argocd.argoproj.io/sync-wave: "0" spec: project: homelab source: repoURL: https://github.com/Riotpiaole/riotpiao.homelab.com.git targetRevision: main path: k8s/argocd/apps directory: recurse: false destination: server: https://kubernetes.default.svc namespace: argocd syncPolicy: automated: prune: true selfHeal: true syncOptions: - CreateNamespace=true