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

Sync fails with `application repo https://github.com/org/payments-config.git is not permitted in project 'team-a'`.

BeginnerTroubleshootingRepos, Clusters, Projects & Permissions
Answer

Likely causes → The AppProject's sourceRepos does not include the repo, often because of a missing .git suffix or a different URL form.

Diagnose → argocd proj get team-a and look at Source Repositories.

Fix → argocd proj add-source team-a https://github.com/org/payments-config.git, or use a glob in Git: sourceRepos: ["https://github.com/org/payments-*"].

Prevent → Manage AppProjects in Git, reviewed by the platform team, with globs scoped per team.

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

More on Repos, Clusters, Projects & Permissions