diff options
author | Teo Klestrup Röijezon <teo@nullable.se> | 2018-11-22 14:44:44 +0100 |
---|---|---|
committer | Teo Klestrup Röijezon <teo@nullable.se> | 2018-11-22 14:49:20 +0100 |
commit | 77cbf0db0ac5dc065969d44aef2cf81776d11228 (patch) | |
tree | 85a11d93d293abc8342c309bc0098c86a4776e3a /pkgs/applications/networking/cluster | |
parent | 80738ed9dc0ce48d7796baed5364eef8072c794d (diff) |
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.
Diffstat (limited to 'pkgs/applications/networking/cluster')
-rw-r--r-- | pkgs/applications/networking/cluster/helm/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/cluster/helm/default.nix b/pkgs/applications/networking/cluster/helm/default.nix index be88dc5ae0ebb..c03af2e9683d4 100644 --- a/pkgs/applications/networking/cluster/helm/default.nix +++ b/pkgs/applications/networking/cluster/helm/default.nix @@ -18,7 +18,7 @@ buildGoPackage rec { # Thsese are the original flags from the helm makefile buildFlagsArray = '' - -ldflags= + -ldflags=-X k8s.io/helm/pkg/version.Version=v${version} -w -s ''; |