From df4147cd571f6135a965bded98f424450699d09b Mon Sep 17 00:00:00 2001 From: Ankur Gupta <96454196+ankursgupta@users.noreply.github.com> Date: Wed, 2 Feb 2022 22:45:41 +0530 Subject: [PATCH] Update legacy-unknown-cert and legacy-unknown-key (#5057) Signed-off-by: Ankur Gupta --- pkg/daemons/control/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/daemons/control/server.go b/pkg/daemons/control/server.go index 21443d3310..c5b4fb6cf3 100644 --- a/pkg/daemons/control/server.go +++ b/pkg/daemons/control/server.go @@ -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"