File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
data/data/bootstrap/baremetal/files/etc/containers/systemd Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ After=network-online.target ironic-volume.service build-ironic-env.service image
88[Container]
99ContainerName=baremetal-operator
1010Image=$METAL3_BAREMETAL_OPERATOR_IMAGE
11- Exec=/baremetal-operator -build-preprov-image -webhook-port 0
11+ Exec=/baremetal-operator -build-preprov-image -webhook-port 0 -enable-leader-election -namespace openshift-machine-api
1212Network=host
1313Volume=${AUTH_DIR}:/auth:z,ro
1414Volume=/opt/openshift:/opt/openshift:z,ro
@@ -19,6 +19,9 @@ Environment="IRONIC_KERNEL_PARAMS=${IRONIC_KERNEL_PARAMS}"
1919Environment="HTTP_PORT=${HTTP_PORT}"
2020Environment="IRONIC_ENDPOINT=${IRONIC_ENDPOINT}"
2121Environment="IRONIC_EXTERNAL_URL_V6=${IRONIC_EXTERNAL_URL_V6}"
22+ Environment="LEASE_DURATION_SECONDS=137"
23+ Environment="RENEW_DEADLINE_SECONDS=107"
24+ Environment="RETRY_PERIOD_SECONDS=26"
2225
2326[Service]
2427EnvironmentFile=/etc/metal3.env
You can’t perform that action at this time.
0 commit comments