mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Use ClientCA for the signer controller
This commit is contained in:
parent
f38082673d
commit
71561ecda2
@ -131,8 +131,8 @@ func controllerManager(cfg *config.Control, runtime *config.ControlRuntime) erro
|
||||
"bind-address": localhostIP.String(),
|
||||
"secure-port": "0",
|
||||
"use-service-account-credentials": "true",
|
||||
"cluster-signing-cert-file": runtime.ServerCA,
|
||||
"cluster-signing-key-file": runtime.ServerCAKey,
|
||||
"cluster-signing-cert-file": runtime.ClientCA,
|
||||
"cluster-signing-key-file": runtime.ClientCAKey,
|
||||
}
|
||||
if cfg.NoLeaderElect {
|
||||
argsMap["leader-elect"] = "false"
|
||||
|
Loading…
Reference in New Issue
Block a user