Your security team asks you to scan Helm charts for misconfigurations in CI. How?
BeginnerScenarioSecrets & Security
Answer
Situation read → Misconfigurations live in rendered manifests.
What I'd do →
trivy config ./shop(scans Helm charts directly) orhelm template ... | checkov -f -/kube-linter lint ./shop.- Run per environment's values, since prod settings differ.
- Fail on HIGH findings; document exceptions in code.
Why → Scanning rendered output reflects what will actually run.
Interview tip → Mention scanning with each environment's values.
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?AdvancedHow do you rotate a database password managed through Helm without downtime?AdvancedYour CI service account for Helm has cluster-admin "because it was easier". How do you fix it?Intermediate