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

damp-pillow-67781

11/19/2018, 9:50 PM
Hey, is that possible to pass in a values.yaml file (instead of put the values in code) when deploying helm charts?
c

creamy-potato-29402

11/19/2018, 9:51 PM
@damp-pillow-67781 it’s not!
this is probably a good idea though.
I’ll file a bug.
d

damp-pillow-67781

11/19/2018, 9:51 PM
Yeah cuz I have to edit lots of values which is not a good idea to put it in code
Thanks
c

creamy-potato-29402

11/19/2018, 9:52 PM
Hmm, not sure I understand that last bit?
d

damp-pillow-67781

11/19/2018, 9:55 PM
So right now I have to specify
values: {}
to pass in values to deploy a helm chart, but I have a bunch of values to put in, so that’s a very long block, I’m wondering if it’s possible to separate values into a file.
c

creamy-potato-29402

11/19/2018, 10:00 PM
@damp-pillow-67781 right, makes sense. In the short term, how about just putting those values in a file and then calling
JSON.parse(fs.readSync(...).toString())
d

damp-pillow-67781

11/19/2018, 10:01 PM
Oh yeah that’s another solution, thanks!
w

white-balloon-205

11/19/2018, 10:01 PM
(Or use a YAML parser from NPM as the case may be)
👍 1
3 Views