Skip to content

Commit

Permalink
Merge pull request #76 from waltforme/cm-flag-master
Browse files Browse the repository at this point in the history
🐛 Improve apiserver service name for controller manager
  • Loading branch information
pdettori authored Sep 5, 2023
2 parents 6626692 + 5510387 commit 7a6e189
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/reconcilers/k8s/deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7a6e189

Please sign in to comment.