Configuration overrides
Chart defaults can be overridden with explicit value files or flags. Keep environment configuration in reviewable files and protect sensitive values because Helm release metadata and rendered manifests can expose them. Use the intended secret-management approach rather than assume every value is private. For example, values-dev.yaml sets replicaCount 1 while values-prod.yaml sets 3; neither contains a real database password.
values-dev.yaml sets replicaCount 1 while values-prod.yaml sets 3; neither contains a real database password.
The same chart serves development and production through separate reviewed value files. Development chooses one replica and a local entry path; production chooses appropriate capacity and its actual ingress settings. Rendering shows the resulting differences before installation. Avoid storing real credentials in values because rendered output and release metadata can expose them.
An override replaces or supplements a default input. A value file records environment configuration. A release dependency is configuration the runtime requires, such as a Secret or external endpoint. Describe precedence and keep command-line changes recorded instead of relying on shell history. Too many undocumented overrides make an environment impossible to reproduce. Share meaningful defaults while validating intentional differences. A reused chart does not imply both environments exercise identical topology or availability behavior. Document which production requirements need separate testing rather than assuming a smaller development installation proves every operational property.
values-dev.yaml sets replicaCount 1 while values-prod.yaml sets 3; neither contains a real database password.
Do not overlook this operational distinction: Use the intended secret-management approach rather than assume every value is private.