Skip to content
This repository was archived by the owner on Mar 23, 2020. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions OpenShift/03_create_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ source ../common/logging.sh
source common.sh

export OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE="${OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE:-registry.svc.ci.openshift.org/ocp/release:4.2}"
LOGLEVEL="${LOGLEVEL:-info}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you like to document this new option? config_example.sh ? or perhaps the README since the config may go away?


function extract_installer() {
local release_image
Expand Down Expand Up @@ -52,7 +53,7 @@ fi
mkdir -p ocp
extract_installer "${OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE}" ocp/
cp install-config.yaml ocp/
${OPENSHIFT_INSTALLER} --dir ocp create manifests
${OPENSHIFT_INSTALLER} --dir ocp --log-level=${LOGLEVEL} create manifests
# TODO - Add custom install time manifests here:
# - https://github.com/openshift-kni/install-scripts/issues/30
${OPENSHIFT_INSTALLER} --dir ocp create cluster
${OPENSHIFT_INSTALLER} --dir ocp --log-level=${LOGLEVEL} create cluster