Skip to content

Commit

Permalink
Merge pull request #30 from spectrocloud/PPD-1489
Browse files Browse the repository at this point in the history
PPD-1489: Add vcluster service FQDN
  • Loading branch information
tiwarisumit3 authored Dec 2, 2024
2 parents 7f8c4ac + 0413373 commit 528e349
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/kubeconfighelper/kubeconfighelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func NewVClusterClientConfig(name, namespace string, token string, clientCert, c
config := clientcmdapi.NewConfig()
contextName := "default"
clusterConfig := clientcmdapi.NewCluster()
clusterConfig.Server = fmt.Sprintf("https://%s.%s:443", name, namespace)
clusterConfig.Server = fmt.Sprintf("https://%s.%s.svc.cluster.local:443", name, namespace)
clusterConfig.InsecureSkipTLSVerify = true

authInfo := clientcmdapi.NewAuthInfo()
Expand Down

0 comments on commit 528e349

Please sign in to comment.