From 4b2ab8b515063b844ac6a3111bd79cd3e7a91b0e Mon Sep 17 00:00:00 2001 From: Derek Nola Date: Wed, 16 Jun 2021 13:54:35 -0700 Subject: [PATCH] Renamed client-cloud-controller crt and key (#3470) Signed-off-by: dereknola --- 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 57ea62b008..58e75dbb91 100644 --- a/pkg/daemons/control/server.go +++ b/pkg/daemons/control/server.go @@ -275,8 +275,8 @@ func prepare(ctx context.Context, config *config.Control, runtime *config.Contro runtime.ClientAdminKey = filepath.Join(config.DataDir, "tls", "client-admin.key") runtime.ClientControllerCert = filepath.Join(config.DataDir, "tls", "client-controller.crt") runtime.ClientControllerKey = filepath.Join(config.DataDir, "tls", "client-controller.key") - runtime.ClientCloudControllerCert = filepath.Join(config.DataDir, "tls", "client-cloud-controller.crt") - runtime.ClientCloudControllerKey = filepath.Join(config.DataDir, "tls", "client-cloud-controller.key") + runtime.ClientCloudControllerCert = filepath.Join(config.DataDir, "tls", "client-"+version.Program+"-cloud-controller.crt") + runtime.ClientCloudControllerKey = filepath.Join(config.DataDir, "tls", "client-"+version.Program+"-cloud-controller.key") runtime.ClientSchedulerCert = filepath.Join(config.DataDir, "tls", "client-scheduler.crt") runtime.ClientSchedulerKey = filepath.Join(config.DataDir, "tls", "client-scheduler.key") runtime.ClientKubeAPICert = filepath.Join(config.DataDir, "tls", "client-kube-apiserver.crt")