From e6f9062a0f0fcacdcc392c6783de2234efeb9e4d Mon Sep 17 00:00:00 2001 From: elliotxx <951376975@qq.com> Date: Tue, 3 Sep 2024 11:55:48 +0800 Subject: [PATCH] fix: missing protocol in hub cluster config template (#614) ## What type of PR is this? /kind bug ## What this PR does / why we need it: fix missing protocol in hub cluster config template. --- pkg/util/certgenerator/generator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/certgenerator/generator.go b/pkg/util/certgenerator/generator.go index 63088027..5cb5c7d8 100644 --- a/pkg/util/certgenerator/generator.go +++ b/pkg/util/certgenerator/generator.go @@ -32,7 +32,7 @@ const hubClusterKubeConfigTemplate = `apiVersion: v1 clusters: - cluster: insecure-skip-tls-verify: true - server: karpor-server.%s.svc:7443 + server: https://karpor-server.%s.svc:7443 name: karpor contexts: - context: