Merge pull request #1683 from prodanlabs/karmadactl-init-fix

Fix karmadactl init  karmada-controller-manager leader elect failure
This commit is contained in:
karmada-bot 2022-04-29 09:32:15 +08:00 committed by GitHub
commit 7fde5d7d90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -487,6 +487,7 @@ func (i *CommandInitOption) makeKarmadaControllerManagerDeployment() *appsv1.Dep
"--bind-address=0.0.0.0",
"--cluster-status-update-frequency=10s",
"--secure-port=10357",
fmt.Sprintf("--leader-elect-resource-namespace=%s", i.Namespace),
"--v=4",
},
Ports: []corev1.ContainerPort{