Commit 702b6fb5 authored by Serge Catudal's avatar Serge Catudal
Browse files

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.
parent 04f203d2
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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)
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment