Is there any way to debug how Pulumi decomposes a ...
# kubernetes
m
Is there any way to debug how Pulumi decomposes a Helm chart? I'm having an issue where a value I set in the Helm chart doesn't seem to be translated into the actual service Pulumi creates, all the other values work fine, but not this one and I can't see why
g
Yep, as @better-rainbow-14549 said, you can tell the K8s provider to write the output to a directory instead of submitting to your k8s cluster. That might help troubleshoot it. https://www.pulumi.com/docs/guides/adopting/from_kubernetes/#rendering-kubernetes-yaml
b
you can also put your values in a
values.yaml
and do
helm template --values values.yaml
that's all pulumi does under the hood
m
Thanks, that let me find the problem, all sorted now