1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-19 05:19:39 +02:00

fix(k8s/config): force insecure-skip-tls-verify option for internal use [BE-11706] (#537)

This commit is contained in:
Oscar Zhou 2025-03-20 08:49:27 +13:00 committed by GitHub
parent 38562f9560
commit 4b992c6f3e
2 changed files with 11 additions and 0 deletions

View file

@ -109,6 +109,7 @@ func (service *kubeClusterAccessService) GetClusterDetails(hostURL string, endpo
Str("host_URL", hostURL).
Str("HTTPS_bind_address", service.httpsBindAddr).
Str("base_URL", baseURL).
Bool("is_internal", isInternal).
Msg("kubeconfig")
clusterServerURL, err := url.JoinPath("https://", hostURL, baseURL, "/api/endpoints/", strconv.Itoa(int(endpointID)), "/kubernetes")