Ten teams share one Argo CD. How do you isolate them?
IntermediateScenarioTenancy, Security & Secrets
Answer
Situation read → Multi-tenancy on a shared control plane.
What I'd do →
- One AppProject per team:
sourceReposlimited to their repos,destinationsto their namespaces (team-a-*), cluster-scoped kinds limited toNamespace, quotas and network policies blacklisted. - SSO groups mapped to project roles: developers sync non-prod, leads sync prod.
- Lock down the
defaultproject. - Optionally apps in any namespace so each team owns its Application objects.
Why → Projects bound what apps can do; RBAC bounds what people can do.
Interview tip → Separate "what an app may deploy" (project) from "who may act on it" (RBAC).
More on Tenancy, Security & Secrets
A developer could create an Application in their project that deploys a ClusterRoleBinding granting cluster-admin. How do you prevent privilege escalation?AdvancedCI needs to trigger a sync of one app after a deploy commit. How do you give it access?BeginnerAn auditor says the Sealed Secrets private key is a single point of failure and a single point of compromise. How do you respond?AdvancedYou need the same database password in 12 clusters. Which secrets approach do you choose and why?IntermediateYour team wants to use SOPS with Argo CD. What do you set up?AdvancedA plaintext Secret was committed to the config repo and pushed. What do you do?Beginner