kubernetes-helm: tell Helm what version it is
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 #49120.
This commit is contained in:
parent
80738ed9dc
commit
77cbf0db0a
|
@ -18,7 +18,7 @@ buildGoPackage rec {
|
||||||
|
|
||||||
# Thsese are the original flags from the helm makefile
|
# Thsese are the original flags from the helm makefile
|
||||||
buildFlagsArray = ''
|
buildFlagsArray = ''
|
||||||
-ldflags=
|
-ldflags=-X k8s.io/helm/pkg/version.Version=v${version}
|
||||||
-w
|
-w
|
||||||
-s
|
-s
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue