Management asks for proof of who deployed what to production and when, for an audit. How does GitOps answer this?
BeginnerScenarioAdopting GitOps & Repo Design
Answer
Situation read → Auditors want traceability from change request to deployment.
What I'd do →
- Point to the config repo history: every prod change is a merged PR with author, reviewers, approvals and timestamp.
- Enforce branch protection and CODEOWNERS on
envs/prod/**, and signed commits if required. - Show Argo CD sync history and Kubernetes Events (and notifications to a channel) linking each sync to a commit SHA.
- Disable UI parameter overrides and manual syncs to non-Git revisions with RBAC so Git stays the only path.
Why → GitOps makes the audit trail a side effect of the workflow.
Interview tip → Mention commit status back to GitHub so the PR itself shows "deployed".
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