Commit 71561ecd authored by Brad Davidson's avatar Brad Davidson

Use ClientCA for the signer controller

parent f3808267
...@@ -131,8 +131,8 @@ func controllerManager(cfg *config.Control, runtime *config.ControlRuntime) erro ...@@ -131,8 +131,8 @@ func controllerManager(cfg *config.Control, runtime *config.ControlRuntime) erro
"bind-address": localhostIP.String(), "bind-address": localhostIP.String(),
"secure-port": "0", "secure-port": "0",
"use-service-account-credentials": "true", "use-service-account-credentials": "true",
"cluster-signing-cert-file": runtime.ServerCA, "cluster-signing-cert-file": runtime.ClientCA,
"cluster-signing-key-file": runtime.ServerCAKey, "cluster-signing-key-file": runtime.ClientCAKey,
} }
if cfg.NoLeaderElect { if cfg.NoLeaderElect {
argsMap["leader-elect"] = "false" argsMap["leader-elect"] = "false"
......
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