From a6ceac6360618ddfa41b62dbf8cc288f9292b7b7 Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Wed, 5 Feb 2020 15:46:47 -0500 Subject: [PATCH] cluster-launch-installer-e2e: Add preserve_bootstrap variant This will preserve the bootstrap host in order to debug issues unique to bootstrapping. --- .../openshift/installer/cluster-launch-installer-e2e.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml b/ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml index 15ae7f994a791..7aa956927b1b5 100644 --- a/ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml +++ b/ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml @@ -731,6 +731,10 @@ objects: EOF fi + if has_variant "preserve_bootstrap"; then + export OPENSHIFT_INSTALL_PRESERVE_BOOTSTRAP=true + fi + # TODO: Replace with a more concise manifest injection approach if [[ -n "${CLUSTER_NETWORK_MANIFEST:-}" ]]; then openshift-install --dir=/tmp/artifacts/installer/ create manifests