Commit f57dd137 authored by Darren Shepherd's avatar Darren Shepherd

Default kube-apiserver to httpsport + 1

parent 9c8b95be
......@@ -215,7 +215,11 @@ func defaults(config *config.Control) {
}
if config.ListenPort == 0 {
config.ListenPort = 6444
if config.HTTPSPort != 0 {
config.ListenPort = config.HTTPSPort + 1
} else {
config.ListenPort = 6444
}
}
if config.DataDir == "" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment