Feature request: add possibility to specify a values file inside a packaged chart
Hi!
Oftentimes, one need to have values specific to the environment where the chart will be deployed. A possible solution is to have a common values.yaml file and several values-<environment>.yaml files. Deploying a chart from the source directory is easy using helm install --values values-<environment>.yaml.
However, when installing a packaged chart (from a chart repository), one cannot specify to use the values-<environment>.yaml file packaged inside the chart. This feature request is about adding the possibility to do so.
A better solution would be to add the notion of environment as a first class citizen in Helm and automatically use the values-<environment>.yaml file if present, but this would involve a lot more work!
How about helm fetch --untar the chart before passing the values file?
How about
helm fetch --untarthe chart before passing the values file?
This is a possible solution but not very user friendly ;-)
Hey @hickeyma ,
We wrote a tool that wraps helm and has a deploy command that does all the logic for you.
Check out the docs:
https://github.com/maorfr/orca/tree/master/docs/commands#deploy-chart
Could this be of any help for you?
@maorfr Thanks for this.
@yann-soubeyrand could this tool be of use?
Yes, this tool may bring a solution to our use case, but having to use another tool "just" for this is not ideal in my opinion ;-) I think this should be a feature of Helm itself. Anyway, I'll have an eye on Orca to see if we can benefit from other features of the tool as well.
Sure. I am not a core maintainer but @bacongobbler who is, has added the "feature" tag to this, so it might make it into a release at some stage.
cc: @mattfarina
I propose that the following syntax to load values file from inside a chart archive.
--values chart:///values-production.yaml
This was all the existing behavior can be preserved. Do you think this is acceptable to add in Helm 3?
the URL syntax looks wonky, but the premise sounds fine. I'd also suggest looking at other tickets asking for the same feature. Namely #6715
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
@bacongobbler any update on this feature ? Referring to a specific value file inside a chart should be part of basic functionality IMO. If the value file derived from -f
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
bump!
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
bump!
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
bump!
Hi, any updates about this feature? A very useful feature when need to test the chart with test valueFiles in chart.
yes please!
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
bump
Since others have been asking... No progress has been made on this ticket by members of the community.
The first step to propose a new feature would be to write a HIP.
We intend HIPs to be the primary mechanisms for proposing major new features, for collecting community input on an issue, and for documenting the design decisions that have gone into the project. The proposal author is responsible for building consensus within the community and documenting dissenting opinions.
See Proposing an Idea for more information on this process.
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
bump
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
bump :)
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
bump
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.
bump
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs.