diff --git a/pkg/reconcilers/k8s/deployment.go b/pkg/reconcilers/k8s/deployment.go index 2c71607..f5091a6 100644 --- a/pkg/reconcilers/k8s/deployment.go +++ b/pkg/reconcilers/k8s/deployment.go @@ -291,7 +291,7 @@ func (r *K8sReconciler) generateCMDeployment(cpName, namespace string) (*appsv1. ImagePullPolicy: v1.PullIfNotPresent, Command: []string{ "kube-controller-manager", - fmt.Sprintf("--master=https://%s:%d", cpName, shared.SecurePort), + fmt.Sprintf("--master=https://%s:%d", cpName+"."+cpName+"-system", shared.SecurePort), "--authentication-kubeconfig=/etc/kubernetes/kubeconfig", "--authorization-kubeconfig=/etc/kubernetes/kubeconfig", "--bind-address=0.0.0.0",