mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Merge pull request #1848 from euank/insecure-on-lo
Listen insecurely on localhost only
This commit is contained in:
commit
3f2551ec05
@ -131,6 +131,7 @@ func controllerManager(cfg *config.Control, runtime *config.ControlRuntime) erro
|
||||
"root-ca-file": runtime.ServerCA,
|
||||
"port": "10252",
|
||||
"profiling": "false",
|
||||
"address": localhostIP.String(),
|
||||
"bind-address": localhostIP.String(),
|
||||
"secure-port": "0",
|
||||
"use-service-account-credentials": "true",
|
||||
@ -151,6 +152,7 @@ func scheduler(cfg *config.Control, runtime *config.ControlRuntime) error {
|
||||
argsMap := map[string]string{
|
||||
"kubeconfig": runtime.KubeConfigScheduler,
|
||||
"port": "10251",
|
||||
"address": "127.0.0.1",
|
||||
"bind-address": "127.0.0.1",
|
||||
"secure-port": "0",
|
||||
"profiling": "false",
|
||||
|
Loading…
Reference in New Issue
Block a user