Interview Prep/Helm/Schema, Helmfile, Argo CD & Secrets

Why should you not store plaintext secrets in values files?

BeginnerConceptSchema, Helmfile, Argo CD & Secrets
Answer

Values files live in Git, so anyone with repo access (and every clone, fork and CI log) sees them forever. Helm also stores merged values in the release Secret, and helm get values prints them. Options: encrypt secrets in Git with SOPS and decrypt at deploy time (helm-secrets), keep them in a secret manager and sync with External Secrets Operator, or inject via --set-string from CI secrets (still lands in the release record).

All Helm questions Roadmap: Helm

More on Schema, Helmfile, Argo CD & Secrets