-
Notifications
You must be signed in to change notification settings - Fork 7.1k
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
[Feature Request] helm package should have --version flag #1480
Comments
@jchauncey Just to make sure I am reading this right, you'd want that change to be written to disk, too, right? In other words, I would be able to do this: $ grep version Chart.yaml
version: 1.2.3
$ helm package --version 2.3.4 .
$ grep version Chart.yaml
version: 2.3.4 Does that look correct? |
Yup that's awesome
…On Dec 15, 2016 5:07 PM, "Matt Butcher" ***@***.***> wrote:
@jchauncey <https://github.com/jchauncey> Just to make sure I am reading
this right, you'd want that change to be written to disk, too, right?
In other words, I would be able to do this:
$ grep version Chart.yamlversion: 1.2.3
$ helm package --version 2.3.4 .
$ grep version Chart.yamlversion: 2.3.4
Does that look correct?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1480 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAaRGHN1RTewXLzIREuOgtgQNyaMdmAYks5rIbodgaJpZM4KlTJz>
.
|
After some debate, I think the current feature will go in with this functionality: For some package
This will prevent CI/CD systems (the envisioned customer of this feature) from choking on a dirty repo after a package command is run. |
We all know that the version of a package is derived from the
Chart.yaml
. However, if you are wanting to deliver a new chart artifact for each commit pushed to master changing that file is rather cumbersome (modifying a file in CI is dangerous and having to change that file for each commit seems inefficient).Instead, it would be very useful to have a
--version
flag which would be part of thehelm package
command. This would allow us to override the value inChart.yaml
within a CI environment without mucking up the workspace.The text was updated successfully, but these errors were encountered: