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
add --values and --set flag to helm package #3141
Comments
related request: #2566 |
I have started work on this. |
A nice use case is described in the issue I opened ( #3198 ), in which I'd like to be able to do:
This way the chart version and the docker image version are one and the same. |
When 'helm package --set stringsArray' is run, this will set/override values in the packaged chart. 'helm package --values valueFiles' uses one or more value files to achieve the same. Closes helm#3141 Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
When 'helm package --set stringsArray' is run, this will set/override values in the packaged chart. 'helm package --values valueFiles' uses one or more value files to achieve the same. Closes helm#3141 Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
I have just completed the first draft and posted a PR for this. |
When 'helm package --set stringsArray' is run, this will set/override values in the packaged chart. 'helm package --values valueFiles' uses one or more value files to achieve the same. Closes helm#3141 Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
When 'helm package --set stringsArray' is run, this will set/override values in the packaged chart. 'helm package --values valueFiles' uses one or more value files to achieve the same. Closes helm#3141 Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
Hi @adshmh , looks good; unfortunately I don't know Go but I see you covered it with the test cases and all, so it probably does what it says :) Thanks! |
When 'helm package --set stringsArray' is run, this will set/override values in the packaged chart. 'helm package --values valueFiles' uses one or more value files to achieve the same. Closes helm#3141 Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
When 'helm package --set stringsArray' is run, this will set/override values in the packaged chart. 'helm package --values valueFiles' uses one or more value files to achieve the same. Closes helm#3141 Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
When 'helm package --set stringsArray' is run, this will set/override values in the packaged chart. 'helm package --values valueFiles' uses one or more value files to achieve the same. Closes helm#3141 Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
When will this feature be available? In 2.9.0 ? |
#3471 missed the deadline for 2.9 so it'll be in 2.10. |
Re-opening this, as #3471 needs to be backed out. |
What does this do to the comments/etc in the archive package? eg, are they stripped or left alone or ?? Currently I'm trying to do the same thing with |
#3471 stripped all the comments out, which is why we needed to back that PR out. See #3471 (comment) for more info |
Reverted from 2.10 "feat: add --set and --values options to 'helm package'" 7b8aae4 |
Some news about this? |
mark |
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. |
Not stale. For more context, looks like there’s been no progress on upgraded the YAML dependencies required to make this refactor work, as well as questions about whether this can be done in a backwards compatible way. |
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. |
Bot please keep it open as this is still a highly requested feature. |
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. |
Bot, 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. |
Still would be a nice feature. |
My use case: Have a generic Helm Chart, parametrize it per application and per environment with values. It would be nice to release a Helm Chart as a whole with values tied to application or even to the environment, so I could fetch it anywhere and test - except database credentials and address for example. I think it is a very important feature inside an organization, when releasing applications without duplicating the Helm Chart sources. |
hi, I've posted a PR and fixed the problem of missing comments. |
I made a temporary workaround using Helm SDK. https://medium.com/@keska.damian/helm-inside-your-code-helm-sdk-51c0e023f872 |
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. |
Any plans on doing this? |
You can use "helmer", a script that provides functionality similar to the helm package command, with the added benefit of allowing you to override the values.yaml file |
6 years and running. Any plans? |
Just like install and upgrade support --values flag, please support the same for helm package command.
Resulting package archive should contain parent chart's values file merged with any value files provided via --values flag.
The text was updated successfully, but these errors were encountered: