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
kubernetes-helm: tell Helm what version it is #50918
Conversation
Helm uses its version to determine what version of Tiller (the server component) to install. Without this patch it thinks it is `v2.11+unreleased` and tries to download `gcr.io/kubernetes-helm/tiller:v2.11`. After the patch it correctly downloads `gcr.io/kubernetes-helm/tiller:v2.11.0`. Fixes NixOS#49120.
cc @edude03 |
cf #50299 |
@GrahamcOfBorg build helm-kubernetes |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: helm-kubernetes Partial log (click to expand)
|
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: helm-kubernetes Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: helm-kubernetes Partial log (click to expand)
|
oarf:/ |
Success on aarch64-linux (full log) Attempted: kubernetes-helm Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: kubernetes-helm Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: kubernetes-helm Partial log (click to expand)
|
Thanks! |
Without this patch, the Helm client will think it is &version.Version{SemVer:"v2.13", GitCommit:"", GitTreeState:""} and install the Tiller image gcr.io/kubernetes-helm/tiller:v2.13 which does not exist. Adapted from NixOS/nixpkgs#50918
Without this patch, the Helm client will think it is &version.Version{SemVer:"v2.13", GitCommit:"", GitTreeState:""} and install the Tiller image gcr.io/kubernetes-helm/tiller:v2.13 which does not exist. Adapted from NixOS/nixpkgs#50918 void-linux/void-packages@ba48b87
Motivation for this change
Helm uses its version to determine what version of Tiller (the server
component) to install. Without this patch it thinks it is
v2.11+unreleased
andtries to download
gcr.io/kubernetes-helm/tiller:v2.11
. After the patch itcorrectly downloads
gcr.io/kubernetes-helm/tiller:v2.11.0
. Fixes #49120.Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)