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.
More on Repos, Clusters, Projects & Permissions
Adding a private GitHub repo over HTTPS fails with `rpc error: code = Unknown desc = authentication required`.BeginnerAn SSH repo fails with `ssh: handshake failed: knownhosts: key is unknown`.BeginnerSSH repo: `ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain`.BeginnerA self-hosted GitLab repo fails with `x509: certificate signed by unknown authority`.IntermediateA credential template exists for `https://github.com/org`, yet new repos under the org still fail with `authentication required`.Intermediate`application destination server 'https://kubernetes.default.svc' and namespace 'payments' do not match any of the allowed destinations in project 'team-a'`.Beginner