Skip to content

Commit 0efc396

Browse files
Merge pull request openshift#7662 from sadasu/CORS-2813
CORS-2813: Pass LB ConfigMap manifest as a parameter to MCO instance during bootstrap
2 parents 1870993 + d890032 commit 0efc396

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
@@ -354,6 +354,9 @@ then
354354
if [ -f "$PWD/manifests/cloud-provider-config.yaml" ]; then
355355
ADDITIONAL_FLAGS="${ADDITIONAL_FLAGS} --cloud-config-file=/assets/config-bootstrap/cloud-provider-config-generated.yaml"
356356
fi
357+
if [ -f "/opt/openshift/manifests/openshift-lbconfig-custom-dns.yaml" ]; then
358+
ADDITIONAL_FLAGS="${ADDITIONAL_FLAGS} --cloud-lb-config-file=/assets/manifests/openshift-lb-config.yaml"
359+
fi
357360

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

0 commit comments

Comments
 (0)