Commit 703779c3 authored by Brad Davidson's avatar Brad Davidson Committed by Brad Davidson

Remove deprecated flags from kube-apiserver

parent 551f2fa0
...@@ -176,7 +176,6 @@ func apiServer(ctx context.Context, cfg *config.Control) error { ...@@ -176,7 +176,6 @@ func apiServer(ctx context.Context, cfg *config.Control) error {
if cfg.AdvertiseIP != "" { if cfg.AdvertiseIP != "" {
argsMap["advertise-address"] = cfg.AdvertiseIP argsMap["advertise-address"] = cfg.AdvertiseIP
} }
argsMap["insecure-port"] = "0"
argsMap["secure-port"] = strconv.Itoa(cfg.APIServerPort) argsMap["secure-port"] = strconv.Itoa(cfg.APIServerPort)
if cfg.APIServerBindAddress == "" { if cfg.APIServerBindAddress == "" {
argsMap["bind-address"] = getLocalhostIP(cfg.ServiceIPRanges).String() argsMap["bind-address"] = getLocalhostIP(cfg.ServiceIPRanges).String()
......
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