mirror of
https://github.com/ipedrazas/drone-helm.git
synced 2026-06-04 18:24:13 +08:00
Added back tiller namespace option for upgrade command. Now that main branch is using Helm 2.2 this will work.
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user