Interview Prep/GitOps & Argo CD/Repos, Clusters, Projects & Permissions

`InvalidSpecError: application references project team-a which does not exist`.

BeginnerTroubleshootingRepos, Clusters, Projects & Permissions
Answer

Likely causes → The AppProject was not created yet (ordering in the bootstrap), it lives in a different namespace than the Argo CD control plane namespace, or a typo.

Diagnose → kubectl -n argocd get appprojects.

Fix → Create the project first. In app-of-apps bootstraps, put AppProjects in an earlier sync wave (argocd.argoproj.io/sync-wave: "-1") than the Applications.

Prevent → Bootstrap order: projects, then platform apps, then tenant apps.

All GitOps & Argo CD questions Roadmap: Argo CD (GitOps)

More on Repos, Clusters, Projects & Permissions