Interview Prep/GitOps & Argo CD/Adopting GitOps & Repo Design

A team wants to manage their Argo CD Application YAML themselves, but you do not want them editing the `argocd` namespace. What do you set up?

AdvancedScenarioAdopting GitOps & Repo Design
Answer

Situation read → Self-service Applications with guardrails.

What I'd do →

  1. Enable apps in any namespace: application.namespaces: team-*-apps in argocd-cmd-params-cm, restart server and controller.
  2. Create namespace team-a-apps with Kubernetes RBAC letting team-a manage applications.argoproj.io there.
  3. In the AppProject team-a, set sourceNamespaces: [team-a-apps] plus restricted repos and destinations.
  4. Alternatively, keep Applications in Git under teams/team-a/ with CODEOWNERS and an ApplicationSet that generates them.

Why → The project still bounds what their apps can deploy, while they own the Application objects.

Interview tip → Contrast "self-service through Git" (preferred) with "self-service through kubectl".

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

More on Adopting GitOps & Repo Design