Fix --tiller-namespace flag for plugins

This fixes using `--tiller-namespace $namespace` flag (without the equal sign) for helm plugins.
pull/4207/head
Fabian Ruff 8 years ago committed by Sebastien Plisson
parent 294d136286
commit c450708172

@ -131,7 +131,7 @@ func manuallyProcessArgs(args []string) ([]string, []string) {
switch a := args[i]; a { switch a := args[i]; a {
case "--debug": case "--debug":
known = append(known, a) known = append(known, a)
case "--host", "--kube-context", "--home": case "--host", "--kube-context", "--home", "--tiller-namespace":
known = append(known, a, args[i+1]) known = append(known, a, args[i+1])
i++ i++
default: default:

Loading…
Cancel
Save