Interview Prep/GitOps & Argo CD/Tenancy, Security & Secrets

Your company requires that only reviewed and signed commits ever reach production. How do you enforce it at the Argo CD level?

AdvancedScenarioTenancy, Security & Secrets
Answer

Situation read → Defense against direct pushes or compromised CI tokens.

What I'd do →

  1. Import the allowed GPG public keys (argocd gpg add).
  2. Set signatureKeys on the prod AppProject; Argo CD refuses to sync unsigned or wrongly signed revisions.
  3. On GitHub: branch protection requiring signed commits and reviews; merges done through the UI with a signing key, or squash merges by a signing bot.
  4. Monitor app conditions for signature verification failures.

Why → Branch protection controls Git; signatureKeys makes Argo CD verify independently.

Interview tip → Note that GitHub web merges are signed with GitHub's key, which you must then trust.

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

More on Tenancy, Security & Secrets