Re: How to override the default helm chart values in values.yaml using hapi?
Matt Fisher <matt.fisher@...>
If you want to override values, you'll want to add your values as a ValueOverride option to InstallRelease. An example can be found within Draft:
https://github.com/Azure/draft/blob/9e1f18aa6d9bd382bf9602b66eeb870b99213f8b/pkg/builder/builder.go#L411-L421
Matthew Fisher, Caffeinated Software Engineer Microsoft Azure Platform Nanoose Bay, BC Canada Email: matt.fisher@... Phone: 1(250)937-1478 From: cncf-helm@... <cncf-helm@...> on behalf of benjamin via Lists.Cncf.Io <benjamin_wang=aliyun.com@...>
Sent: Tuesday, June 12, 2018 8:28 AM To: cncf-helm@... Cc: cncf-helm@... Subject: [cncf-helm] How to override the default helm chart values in values.yaml using hapi? I use the following code (golang) to deploy helm chart into kubernetes. I removed the error handling code for simplicity.
The last parameter "values" is used to override the values of some fields defined in values.yaml . But after the chart is created, the values used by the POD are still the default values defined in values.yaml in the chart instead of the values included in the last parameter of the following function. What did I miss? Thanks!
|
|