Interview Prep/Kubernetes/Helm, operators and GitOps

Where do you keep chart values for multiple environments?

BeginnerScenarioHelm, operators and GitOps
Answer

Situation read → Teams copy whole charts per environment.

What I'd do →

  1. Keep one chart and values.yaml defaults
  2. Add values-dev.yaml, values-prod.yaml
  3. Pass with multiple -f flags, later ones override
  4. Keep secrets out of values files
  5. Pin chart versions with --version

Why → One chart plus small overrides keeps environments consistent.

Interview tip → Say you pin chart versions in production.

All Kubernetes questions Roadmap: Platform engineering

More on Helm, operators and GitOps