I've seen conflicting information on what all of these things do. For example:
helm install --dry-run --debug
orhelm template --debug
: We've seen this trick already. It's a great way to have the server render your templates, then return the resulting manifest file.
From: https://helm.sh/docs/chart_template_guide/debugging/#helm
That implies that both template --debug
and the dry run send it to the server. Is that true?
I've also seen some places that if you have a schema, that template --validate
will also do linting. Is that true? And does the dry run also lint?
Here's my "guess":
helm template
callslint
even if you don't add--validate
- And
helm template --debug
does not send it to the server, but just prints out more debug info
- And
--validate
does nothing that isn't done with the regular template callhelm install --dry-run
will send each YAML generated to K8s with the following command(s):kubectl apply --validate=true --dry-run=true --f myyaml.yaml
- Is this correct? Is that how Helm does a dry run? (And in helm 3 there's no Tiller)