Update legacy-unknown-cert and legacy-unknown-key (#5057)

Signed-off-by: Ankur Gupta <ankur.gupta130887@gmail.com>
This commit is contained in:
Ankur Gupta 2022-02-02 22:45:41 +05:30 committed by GitHub
parent db5e5d3585
commit df4147cd57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,8 +102,8 @@ func controllerManager(ctx context.Context, cfg *config.Control, runtime *config
"cluster-signing-kubelet-client-key-file": runtime.ClientCAKey,
"cluster-signing-kubelet-serving-cert-file": runtime.ServerCA,
"cluster-signing-kubelet-serving-key-file": runtime.ServerCAKey,
"cluster-signing-legacy-unknown-cert-file": runtime.ClientCA,
"cluster-signing-legacy-unknown-key-file": runtime.ClientCAKey,
"cluster-signing-legacy-unknown-cert-file": runtime.ServerCA,
"cluster-signing-legacy-unknown-key-file": runtime.ServerCAKey,
}
if cfg.NoLeaderElect {
argsMap["leader-elect"] = "false"