Skip to content

Commit

Permalink
Enable leader election for baremetal-operator
Browse files Browse the repository at this point in the history
  • Loading branch information
honza committed May 7, 2024
1 parent aae4dcf commit f579536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provisioning/bmo_pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func createContainerBaremetalOperator(info *ProvisioningInfo) (corev1.Container,
},
},
Command: []string{"/baremetal-operator"},
Args: []string{"--health-addr", ":9446", "-build-preprov-image"},
Args: []string{"--health-addr", ":9446", "-build-preprov-image", "-enable-leader-election"},
ImagePullPolicy: "IfNotPresent",
VolumeMounts: []corev1.VolumeMount{
ironicCredentialsMount,
Expand Down

0 comments on commit f579536

Please sign in to comment.