mirror of https://github.com/k3s-io/k3s.git
Remove deprecated flags from kube-apiserver
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>pull/5548/head
parent
551f2fa00a
commit
703779c32f
|
@ -176,7 +176,6 @@ func apiServer(ctx context.Context, cfg *config.Control) error {
|
|||
if cfg.AdvertiseIP != "" {
|
||||
argsMap["advertise-address"] = cfg.AdvertiseIP
|
||||
}
|
||||
argsMap["insecure-port"] = "0"
|
||||
argsMap["secure-port"] = strconv.Itoa(cfg.APIServerPort)
|
||||
if cfg.APIServerBindAddress == "" {
|
||||
argsMap["bind-address"] = getLocalhostIP(cfg.ServiceIPRanges).String()
|
||||
|
|
Loading…
Reference in New Issue