mirror of https://github.com/kubernetes/kops.git
Merge pull request #10775 from rifelpet/kubetest2-space
Kubetest2 - Fix splitting of --create-args
This commit is contained in:
commit
29047fff56
|
@ -94,7 +94,11 @@ func (d *deployer) createCluster(zones []string, adminAccess string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if d.CreateArgs != "" {
|
if d.CreateArgs != "" {
|
||||||
args = append(args, shlex.Split(d.CreateArgs)...)
|
createArgs, err := shlex.Split(d.CreateArgs)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
args = append(args, createArgs...)
|
||||||
}
|
}
|
||||||
args = appendIfUnset(args, "--admin-access", adminAccess)
|
args = appendIfUnset(args, "--admin-access", adminAccess)
|
||||||
args = appendIfUnset(args, "--master-count", "1")
|
args = appendIfUnset(args, "--master-count", "1")
|
||||||
|
|
Loading…
Reference in New Issue