-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot override Helm values.yaml file reference #1251
Comments
This is also somewhat related to #659 |
@leezen , do you have some update of this requirement? because there are so many helm values.yaml file in existing legancy environment. It is quite hard to rewrite into code. It is a really useful function to imgrate existing helm system smoothly. |
IIUC, the Helm spec has it that the Vendors sometimes include
Bitnami removed all of the |
I can't agree with you more,any update? |
I don't think this will be addressed as it's formulated -- the values.yaml file is part of the chart, not something you supply when you install the chart. When That said,
I'm going to close this issue as "by design", since #659 addresses the problem given here, in line with how the Helm tooling itself works. (If anyone has a reason #659 cannot solve their problem in the way this issue would, we can always reopen this one.) |
Problem description
Some charts provide several
values.yaml
files. For instance in the bitnami repository you often see a separate file for production:https://github.com/bitnami/charts/blob/master/bitnami/prometheus-operator/values-production.yaml
The default values for charts is always taken from
values.yaml
which is hardcoded.Currently there is no way to reference another file to set default values as far as I can see.
Is it intentional that the file reference is hardcoded? It seems useful to allow selecting another one as the default
values.yaml
.dotnet:
pulumi-kubernetes/sdk/dotnet/Helm/ChartBase.cs
Line 90 in aa85b8b
nodejs:
pulumi-kubernetes/sdk/nodejs/helm/v2/helm.ts
Line 185 in 2bf17bb
pulumi-kubernetes/sdk/nodejs/helm/v3/helm.ts
Line 185 in 2bf17bb
go
pulumi-kubernetes/sdk/go/kubernetes/helm/v2/chart.go
Line 316 in 5971a9e
pulumi-kubernetes/sdk/go/kubernetes/helm/v3/chart.go
Line 316 in 5971a9e
python
pulumi-kubernetes/sdk/python/pulumi_kubernetes/helm/v2/helm.py
Line 536 in 52a8169
pulumi-kubernetes/sdk/python/pulumi_kubernetes/helm/v3/helm.py
Line 536 in 52a8169
Suggestions for a fix
I would suggest we make
values.yaml
overridable throughBaseChart(Arg/Opts)
(depending on language).If that's ok, what would be the preferred approach here? I'm happy to provide a PR.
The text was updated successfully, but these errors were encountered: