You need to rotate the Git credentials Argo CD uses for 200 repos. How do you avoid downtime?
IntermediateScenarioTenancy, Security & Secrets
Answer
Situation read → Per-repo credentials make rotation painful.
What I'd do →
- Move to a credential template (
repo-creds) for the org URL prefix, ideally backed by a GitHub App. - Create the new credential first, update the
repo-credsSecret (or let ESO sync it), then revoke the old one. - Verify with
argocd repo listand watch forauthentication requiredin app conditions.
Why → One template covers all repos; GitHub App tokens are short-lived and auto-refreshed.
Interview tip → GitHub Apps also avoid tying access to a person's account.
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