From f4b14563bf3af87b2554574afa7135656f1c042f Mon Sep 17 00:00:00 2001 From: "Eric.Runquist" Date: Wed, 8 Mar 2017 13:33:37 -0600 Subject: [PATCH] Added back tiller namespace option for upgrade command. Now that main branch is using Helm 2.2 this will work. --- plugin.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugin.go b/plugin.go index e6dafb6..d58af01 100644 --- a/plugin.go +++ b/plugin.go @@ -73,6 +73,10 @@ func setPushEventCommand(p *Plugin) { upgrade = append(upgrade, "--namespace") upgrade = append(upgrade, p.Config.Namespace) } + if p.Config.TillerNs != "" { + upgrade = append(upgrade, "--tiller-namespace") + upgrade = append(upgrade, p.Config.TillerNs) + } if p.Config.DryRun { upgrade = append(upgrade, "--dry-run") }