Your security team asks whether Argo CD should pull from GitHub directly or through a mirror. How do you decide?
AdvancedScenarioAdopting GitOps & Repo Design
Answer
Situation read → Concerns are availability, egress rules and supply-chain trust.
What I'd do →
- If clusters are in restricted networks, mirror the config repo and Helm/OCI charts to an internal Git server or registry and point Argo CD there.
- Otherwise pull directly with read-only credentials (GitHub App or deploy key) and pin known hosts and TLS certs.
- Require signed commits (
signatureKeys) for prod projects either way. - Mirror third-party Helm charts to an internal OCI registry so upstream deletions or tampering do not break deploys.
Why → GitHub outages and upstream chart changes are real risks; mirrors trade freshness for control.
Interview tip → Note that a mirror adds a sync delay and becomes part of your critical 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