diff --git a/06_create_cluster.sh b/06_create_cluster.sh index ef4479fd7..7578674b9 100755 --- a/06_create_cluster.sh +++ b/06_create_cluster.sh @@ -71,7 +71,7 @@ EOF cluster --type merge --patch '{"spec":{"storage":{"pvc":{"claim":""}},"managementState":"Managed","replicas": 2}}' fi -if [[ ! -z "${ENABLE_LOCAL_REGISTRY}" ]]; then +if [[ ! -z "${ENABLE_LOCAL_REGISTRY}" ]] || [[ "${MIRROR_IMAGES,,}" != "false" && ! -z "${MIRROR_IMAGES}" ]]; then # Configure tools image registry and cluster samples operator # when local image stream is enabled. These are basically to run CI tests # depend on tools image.