https://pulumi.com logo
Title
r

red-australia-25342

01/15/2023, 11:15 PM
Is it possible to set values programmatically when using a local chart with a Release resource? I've had to hardcode configuration in the values.yaml file instead of passing it in as a parameter. https://www.pulumi.com/registry/packages/kubernetes/api-docs/helm/v3/release/
e

echoing-dinner-19531

01/15/2023, 11:29 PM
I think this is what the Values property is for.
r

red-australia-25342

01/16/2023, 1:12 AM
Yes. I tried populating the values dictionary but it has no effect when referencing a local chart.
Just to follow up. I discovered that if your local chart has a
values.yaml
defined it will ignore any values passed in via the
Values
parameter. If you want to mix code and yaml defined variables you need to keep the yaml external to the local chart.