Interview Prep/GitOps & Argo CD/AppProjects, RBAC & SSO

How can you restrict which namespaces an AppProject's apps can be created in?

AdvancedConceptAppProjects, RBAC & SSO
Answer

With apps-in-any-namespace enabled, the project's sourceNamespaces lists the namespaces where Application CRs belonging to this project may live, for example [team-a-apps]. An Application created in another namespace that references this project is rejected. This is different from destinations, which restricts where the app deploys.

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

More on AppProjects, RBAC & SSO