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 install/fetch latest chart if 'pre-release' version #2407
Comments
The reason is that Traefik's version is, according to SemVer, a pre-release. In Helm 2.4.1, we decided to not install pre-releases unless explicitly given a version. #2279 The work-around is to run something that allows pre-releases to satisfy the range criteria: @vdice suggested to me that we maybe add a flag to allow unstable packages to satisfy the request. We're thinking maybe |
Indeed, one use case of ours is to devote entire chart repos to only 'unstable/dev/pre-release' versioned charts. This has the benefit of not 'crowding' our 'official' chart repos that contain official versions only. It would be handy to maintain the ability to pull the latest chart from said dev repo(s) without specifying any version or version range (as could be done in helm pre-2.4.x): If a |
2.4.0 stopped installing development versions by default. This allows the user to re-enable that support by setting --devel. Closes helm#2407
2.4.0 stopped installing development versions by default. This allows the user to re-enable that support by setting --devel. Closes helm#2407
2.4.0 stopped installing development versions by default. This allows the user to re-enable that support by setting --devel. Closes helm#2407
2.4.0 stopped installing development versions by default. This allows the user to re-enable that support by setting --devel. Closes helm#2407
2.4.0 stopped installing development versions by default. This allows the user to re-enable that support by setting --devel. Closes #2407
2.4.0 stopped installing development versions by default. This allows the user to re-enable that support by setting --devel. Closes helm#2407
While I can understand (somewhat) the rationale behind refusing to install "pre-release" charts, I can't see how that is of any use with Furthermore, the current error message is misleading and causes time waste. |
Affected helm version:
v2.4.1
Issue
helm [install | fetch] <chart repo>/<chart>
fails if latest<chart>
in<chart repo>
has a "pre-release" version -- that is, contains additional values beyond, sayv0.1.0
, such asv0.1.0-alpha.1
orv0.1.0-dev-sha.abc1234
.Details
Working in
v2.3.1
:Not working in
v2.4.1
:However, if the latest chart in the repo has an 'official' release version, they are successfully fetched in
v2.4.1
:Similar/Related Issues
helm/charts#999 was filed specifically for the
stable/traefik
chart.Indeed, as we see, this chart happens to have a bit of extra info on the version string (full version:
1.2.1-a
, therefore corroborating this issue's claim that the added info (normally considered "pre-release") is breaking install/fetch:Caveat
However, it is important to note (and maybe useful in debugging/pinpointing the issue), if the "pre-release" chart version is explicitly specified, it can be installed/fetched with no issue. Continuing from above:
The text was updated successfully, but these errors were encountered: