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 →
- Import the allowed GPG public keys (
argocd gpg add). - Set
signatureKeyson the prod AppProject; Argo CD refuses to sync unsigned or wrongly signed revisions. - 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.
- 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.
More on Tenancy, Security & Secrets
Ten teams share one Argo CD. How do you isolate them?IntermediateA developer could create an Application in their project that deploys a ClusterRoleBinding granting cluster-admin. How do you prevent privilege escalation?AdvancedCI needs to trigger a sync of one app after a deploy commit. How do you give it access?BeginnerAn auditor says the Sealed Secrets private key is a single point of failure and a single point of compromise. How do you respond?AdvancedYou need the same database password in 12 clusters. Which secrets approach do you choose and why?IntermediateYour team wants to use SOPS with Argo CD. What do you set up?Advanced