From 702b6fb53bbbbf797faeef654825e2b9d837b577 Mon Sep 17 00:00:00 2001 From: Serge Catudal Date: Tue, 29 Nov 2016 15:41:20 -0500 Subject: [PATCH] fix(helm): fix windows support with port forward connection in setupConnection This fixes the port forward connection using helm on windows by assigning explicitely 'localhost' to 'TillerHost' in 'setupConnection'. Otherwise, the connection between the helm client with the Tiller server deployed on Kubernetes will not work. --- cmd/helm/helm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/helm/helm.go b/cmd/helm/helm.go index d9b169f00..b0979f62f 100644 --- a/cmd/helm/helm.go +++ b/cmd/helm/helm.go @@ -141,7 +141,7 @@ func setupConnection(c *cobra.Command, args []string) error { return err } - tillerHost = fmt.Sprintf(":%d", tunnel.Local) + tillerHost = fmt.Sprintf("localhost:%d", tunnel.Local) if flagDebug { fmt.Printf("Created tunnel using local port: '%d'\n", tunnel.Local) }