How do you print the computed values for a release before installing it?
IntermediateConceptValues & Precedence
Answer
helm template does not print values, but --dry-run shows them, and you can also render a debug ConfigMap. The quickest reliable ways:
helm install shop ./shop -f values-prod.yaml --dry-run=client --debug | sed -n '/^COMPUTED VALUES:/,/^HOOKS:/p'
helm show values ./shop # defaults only
--debug prints USER-SUPPLIED VALUES and COMPUTED VALUES sections, which is the merged result after all layers and subchart coalescing.
More on Values & Precedence
What is the precedence order of values in Helm?BeginnerHow are lists merged across values files?IntermediateWhat is the difference between `--set` and `--set-string`?BeginnerHow do you set nested keys, list items and keys containing dots with `--set`?IntermediateWhat are `--set-file`, `--set-json` and `--set-literal` for?IntermediateHow do you remove a default value set in a chart's `values.yaml`?Intermediate