quaint-electrician-41503
10/02/2020, 7:18 PMhelm -f values.yaml name /path/to/chart
which is natural via helm, I cannot IE apply ConfigFile
for the values argument of LocalChartOpts
broad-dog-22463
10/02/2020, 7:18 PMquaint-electrician-41503
10/02/2020, 8:09 PMgorgeous-egg-16927
10/02/2020, 8:46 PMvalues
field. https://www.pulumi.com/docs/reference/pkg/kubernetes/helm/v3/chart/#set-chart-values
You can control the values of that parameter via pulumi config settings or through logic in the program, so that should give you quite a bit of flexibility.quaint-electrician-41503
10/02/2020, 9:09 PMgorgeous-egg-16927
10/02/2020, 9:33 PMCan we just read a helm yaml file into a dictionary with yaml.load() , and pass this to values?Yes, I think that would work.
is the behavior identical to the helm --values file.yaml /path/to/chart? IE merging with the charts built in yaml?Yes, those values are merged onto the default
values.yaml
file.
There are a couple open issues related to helm values files:
https://github.com/pulumi/pulumi-kubernetes/issues/659
https://github.com/pulumi/pulumi-kubernetes/issues/1251quaint-electrician-41503
10/02/2020, 9:39 PMConfigFile
and also config loading for these helm configurations so they can be used along with other configurations.