Helm Development

Helm Debugging

Be Inside the Chart folder and you can run to debug.

helm install --debug --dry-run <<CHART-NAME>> .

Using --dry-run will make it easier to test your code, but it won't ensure that Kubernetes itself will accept the templates you generate.

It's best not to assume that your chart will install just because -dry-run works.

Override a Value from the Command line.

helm install s<<CHART-NAME>> . --dry-run --debug --set <<Key=Value>>

Example for the above command.

helm install solid-vulture ./mychart --dry-run --debug --set favoriteDrink=slurm

Since --set has a higher precedence than the default values.yaml

Last updated

Was this helpful?