Helm Debugging

Helm Debugging

Especially using GitOps and Helm Charts with ArgoCD it took me a while to understand how to check the manifests resulting from templating.

First you have to be in the folder containing the Halm Chart, then you have to build the dependencies:

helm dependency build .

Then you can generate locally the manifests and check what is wrong:

helm template . --name-template template_name --namespace namespace_name --kube-version 1.29 --values values.yaml --include-crds --debug > debug.out