How do you stop someone installing an unapproved chart into production?
AdvancedScenarioSecrets & Security
Answer
Situation read → Helm itself does not enforce sources; the cluster must.
What I'd do →
- No human write access to prod; only CI or Argo CD with restricted Argo CD Projects (
sourceReposallow-list). - Admission policies (Kyverno) requiring images from approved registries and signed.
- Network egress restrictions so CI pulls charts only from the internal registry mirror.
- Audit logs and alerts on new Helm release Secrets created outside CI identities.
Why → Controls at the deploy path and admission layer, not trust in users.
Interview tip → Argo CD Project sourceRepos is a nice specific detail.
More on Secrets & Security
A secret was committed in plaintext in `values-prod.yaml`. What do you do?BeginnerWho can read secrets passed to Helm, and how do you reduce exposure?IntermediateSet up helm-secrets with SOPS and AWS KMS for prod and age for dev.IntermediateA chart from the internet requests cluster-admin. How do you evaluate and contain it?AdvancedYour security team asks you to scan Helm charts for misconfigurations in CI. How?BeginnerHow do you rotate a database password managed through Helm without downtime?Advanced