Hi, I use helm and would like to pass the values ...
# kubernetes
b
Hi, I use helm and would like to pass the values to my chart as a yaml file. The Chart class takes a json structure as input for values. Is there a utility in pulumi to read a yaml file and feed it to the chart constructor ? Or do you use something like https://www.npmjs.com/package/js-yaml? Actually with this, I am not sure if pulumi is able to know if there is a diff to apply regarding the file.
b
js-yaml
is the preferred mechanism, you're just using the power of the language, it's not a Pulumi specific thing 😄
👍 1
b
..and pulumi handles all the normal code stuff before it actually manages resources - so all the other code is resolved first before it decides what to do (i.e. update to yaml will cause update to resource)