Your CTO wants "everything in Git", including Argo CD's own configuration. How do you implement it?
IntermediateScenarioAdopting GitOps & Repo Design
Answer
Situation read → Argo CD self-management plus declarative config.
What I'd do →
- Install Argo CD once with Helm, using a values file from the repo.
- Add an Application
argocdinbootstrap/pointing at the same chart and values (withPrune=falseon CRDs). - Declare
argocd-cm,argocd-rbac-cm, AppProjects, repo-creds (via External Secrets) and cluster Secrets in Git. - Root app-of-apps manages all of it; only the initial install and root app are applied by hand.
Why → Upgrades and RBAC changes become reviewed commits and DR becomes a re-bootstrap.
Interview tip → Admit the chicken-and-egg: something installs Argo CD the first time, and you keep a manual recovery path.
More on Adopting GitOps & Repo Design
Your team deploys with Jenkins running `kubectl apply` and wants to move to Argo CD without downtime. How do you migrate?IntermediateA startup with three services asks whether they need a separate config repo. What do you recommend?BeginnerA team wants a Git branch per environment (`dev`, `staging`, `prod`). How do you respond?IntermediateDevelopers keep running `kubectl edit` in production to "quickly fix" things. How do you stop it without blocking incident response?IntermediateYou must deploy one microservice to 4 environments with Helm. Which values structure do you choose?BeginnerYour config repo has 400 Applications in one monorepo and every commit triggers a refresh of everything. What do you change?Advanced