Unverified Commit c0a0b0d3 authored by Darren Shepherd's avatar Darren Shepherd Committed by GitHub

Merge pull request #293 from galal-hussein/remove_deprecated_flags

Change address to bind-address for scheduler and controller-manager
parents 80fe3a41 e8c5b249
...@@ -102,7 +102,7 @@ func controllerManager(cfg *config.Control, runtime *config.ControlRuntime) { ...@@ -102,7 +102,7 @@ func controllerManager(cfg *config.Control, runtime *config.ControlRuntime) {
"--cluster-cidr", cfg.ClusterIPRange.String(), "--cluster-cidr", cfg.ClusterIPRange.String(),
"--root-ca-file", runtime.TokenCA, "--root-ca-file", runtime.TokenCA,
"--port", "10252", "--port", "10252",
"--address", "127.0.0.1", "--bind-address", "127.0.0.1",
"--secure-port", "0", "--secure-port", "0",
} }
if cfg.NoLeaderElect { if cfg.NoLeaderElect {
...@@ -122,7 +122,7 @@ func scheduler(cfg *config.Control, runtime *config.ControlRuntime) { ...@@ -122,7 +122,7 @@ func scheduler(cfg *config.Control, runtime *config.ControlRuntime) {
args := []string{ args := []string{
"--kubeconfig", runtime.KubeConfigSystem, "--kubeconfig", runtime.KubeConfigSystem,
"--port", "10251", "--port", "10251",
"--address", "127.0.0.1", "--bind-address", "127.0.0.1",
"--secure-port", "0", "--secure-port", "0",
} }
if cfg.NoLeaderElect { if cfg.NoLeaderElect {
......
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