https://pulumi.com logo
#kubernetes
Title
# kubernetes
b

bumpy-laptop-30846

04/08/2021, 12:32 PM
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

billowy-army-68599

04/08/2021, 3:37 PM
js-yaml
is the preferred mechanism, you're just using the power of the language, it's not a Pulumi specific thing 😄
👍 1
b

better-shampoo-48884

04/08/2021, 3:40 PM
..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)
4 Views