Your security team wants to prevent anyone from deploying privileged pods via Argo CD. Where do you enforce it?
IntermediateScenarioTenancy, Security & Secrets
Answer
Situation read → Argo CD projects restrict kinds, not pod spec content.
What I'd do →
- Enforce at admission: Pod Security Admission
restrictedlabels on namespaces (viamanagedNamespaceMetadata) and Kyverno/Gatekeeper policies. - Shift left: run the same policies in CI on the config repo (kyverno CLI, conftest).
- Argo CD then surfaces admission denials as sync failures with the policy message.
Why → Admission control is the only layer that sees every create, whatever the source.
Interview tip → Say "Argo CD is not a policy engine; pair it with one".
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