summary refs log tree commit diff
path: root/pkgs/applications/networking/cluster
diff options
context:
space:
mode:
authorTeo Klestrup Röijezon <teo@nullable.se>2018-11-22 14:44:44 +0100
committerTeo Klestrup Röijezon <teo@nullable.se>2018-11-22 14:49:20 +0100
commit77cbf0db0ac5dc065969d44aef2cf81776d11228 (patch)
tree85a11d93d293abc8342c309bc0098c86a4776e3a /pkgs/applications/networking/cluster
parent80738ed9dc0ce48d7796baed5364eef8072c794d (diff)
downloadnixpkgs-77cbf0db0ac5dc065969d44aef2cf81776d11228.tar
nixpkgs-77cbf0db0ac5dc065969d44aef2cf81776d11228.tar.gz
nixpkgs-77cbf0db0ac5dc065969d44aef2cf81776d11228.tar.bz2
nixpkgs-77cbf0db0ac5dc065969d44aef2cf81776d11228.tar.lz
nixpkgs-77cbf0db0ac5dc065969d44aef2cf81776d11228.tar.xz
nixpkgs-77cbf0db0ac5dc065969d44aef2cf81776d11228.tar.zst
nixpkgs-77cbf0db0ac5dc065969d44aef2cf81776d11228.zip
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.nix2
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 be88dc5ae0e..c03af2e9683 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
   '';