diff --git a/pkg/k8s/k8s.go b/pkg/k8s/k8s.go index e5177f96b..31cfec60c 100644 --- a/pkg/k8s/k8s.go +++ b/pkg/k8s/k8s.go @@ -152,7 +152,7 @@ func StartK8S( args = append(args, "--authentication-kubeconfig=/data/pki/controller-manager.conf") args = append(args, "--authorization-kubeconfig=/data/pki/controller-manager.conf") args = append(args, "--bind-address=127.0.0.1") - args = append(args, "--client-ca-file="+vConfig.VirtualClusterKubeConfig().ServerCACert) + args = append(args, "--client-ca-file="+vConfig.VirtualClusterKubeConfig().ClientCACert) args = append(args, "--cluster-name=kubernetes") args = append(args, "--cluster-signing-cert-file="+vConfig.VirtualClusterKubeConfig().ServerCACert) args = append(args, "--cluster-signing-key-file="+vConfig.VirtualClusterKubeConfig().ServerCAKey)