Treat token based auth properly in resourcifier

Wrong operator for token based auth.
If a token was specified this was asking for username and password.
pull/156/head
runseb 9 years ago
parent 4ea5526e3a
commit 18e1122a66

@ -217,7 +217,7 @@ func getConfigurator() *configurator.Configurator {
}
}
if *kubeToken == "" {
if *kubeToken != "" {
args = append(args, fmt.Sprintf("--token=%s", *kubeToken))
} else {
if *kubeUsername != "" {

Loading…
Cancel
Save