https://pulumi.com logo
#typescript
Title
# typescript
r

red-area-47037

09/11/2020, 10:20 AM
Hey, is there an easy way to pass in a file containing all the values for a helm chart instead of specifying all values in place? I have a pretty extensive values.yml and would like to prevent to transfer this into a parameter for the function call…
g

gentle-diamond-70147

09/11/2020, 3:11 PM
I think the
Chart
resource will use your
values.yaml
if it's in the path you specify for the chart. Is that what you're wanting?
r

red-area-47037

09/15/2020, 10:00 PM
Yes, instead of specifying all configuration as values param in pulumi I would like to just use a path to a yaml file containing the configuration. I havent found any way to do this.
I think the 
Chart
 resource will use your 
values.yaml
 if it’s in the path you specify for the chart. Is that what you’re wanting?
I think if I have my own Chart and the default values.yaml next to the Chart.yaml contains my custom configuration, this will work. But if I want to use e.g. the ArgoCD chart in a remote repo and use a values.yaml which is located somewhere else, this is not going to work… at least I havent seen and example how i would be able to achieve this…