Skip to content

Commit d890032

Browse files
committed
Pass in ConfigMap manifest containing LB config to MCO during bootstrap
1 parent c202355 commit d890032

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

data/data/bootstrap/files/usr/local/bin/bootkube.sh.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,9 @@ then
332332
if [ -f "$PWD/manifests/cloud-provider-config.yaml" ]; then
333333
ADDITIONAL_FLAGS="${ADDITIONAL_FLAGS} --cloud-config-file=/assets/config-bootstrap/cloud-provider-config-generated.yaml"
334334
fi
335+
if [ -f "/opt/openshift/manifests/openshift-lbconfig-custom-dns.yaml" ]; then
336+
ADDITIONAL_FLAGS="${ADDITIONAL_FLAGS} --cloud-lb-config-file=/assets/manifests/openshift-lb-config.yaml"
337+
fi
335338

336339
# Dump out image reference file so MCO can consume multiple/additional image references
337340
podman run --quiet --rm --net=none --entrypoint="cat" "${RELEASE_IMAGE_DIGEST}" "/release-manifests/image-references" > image-references

0 commit comments

Comments
 (0)