Hi all, I'm trying to use the v3.Chart resource. H...
# kubernetes
b
Hi all, I'm trying to use the v3.Chart resource. However I'm running into an issue that I can't seem to replicate
--set-file
, used for a template that that replaces a value with the file's contents. If I 1) use a json object as the value, it blows up with
wrong type for value; expected string; got []interface {}
. If I try to pass a yaml string literal, pulumi helpfully escapes all the newlines so that doesn't work either. So wondering if anyone knows of a way to duplicate whatever helm template --set-file does.
s
Did you consider using the release resource instead? It supports loading the values from yaml files: https://www.pulumi.com/registry/packages/kubernetes/api-docs/helm/v3/release/#valueyamlfiles_nodejs