From 77cbf0db0ac5dc065969d44aef2cf81776d11228 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Teo=20Klestrup=20R=C3=B6ijezon?= Date: Thu, 22 Nov 2018 14:44:44 +0100 Subject: [PATCH] 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. --- pkgs/applications/networking/cluster/helm/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/cluster/helm/default.nix b/pkgs/applications/networking/cluster/helm/default.nix index be88dc5ae0eb..c03af2e9683d 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 '';