https://pulumi.com logo
#general
Title
# general
f

famous-kite-69533

03/25/2020, 6:44 PM
Hi guys, how do I specify the path of the values file for an helm chart?
c

creamy-potato-29402

03/25/2020, 6:47 PM
you don’t, you use
fs.readFileSync
or you put them in as JSON literal
f

famous-kite-69533

03/25/2020, 6:51 PM
Hi @creamy-potato-29402, I need to merge a values file named values-crd.yaml (instead of values.yaml) with some args. How can I do that?
c

creamy-potato-29402

03/25/2020, 6:53 PM
there is no built-in way to do this. you have to write code to do it.
you read the file, change it how you like, and pass it to
values
in the argument to the
Chart
constructor
f

famous-kite-69533

03/25/2020, 6:55 PM
okies, thanks