From 5a49222eb3e68422ccb51066764130e74e9edbc4 Mon Sep 17 00:00:00 2001 From: David Simansky Date: Thu, 30 Sep 2021 17:32:26 +0200 Subject: [PATCH] Fix default https scheme --- openshift/e2e-common.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/openshift/e2e-common.sh b/openshift/e2e-common.sh index 4f180d6217..4a209c5865 100755 --- a/openshift/e2e-common.sh +++ b/openshift/e2e-common.sh @@ -172,6 +172,12 @@ install_knative_serving_branch() { source "openshift/e2e-common.sh" IMAGE_FORMAT='registry.ci.openshift.org/openshift/knative-nightly:${component}' install_knative || failed=1 + + # Workaround default 'https' scheme + oc patch knativeserving.operator.knative.dev/knative-serving \ + --namespace knative-serving --type merge \ + --patch '{"spec":{"config":{"network":{"defaultExternalScheme":"http"}}}}' || return 1 + popd return $failed } @@ -216,6 +222,11 @@ install_serverless_operator_branch() { # Install all components Serving,Eventing,Strimzi and Kafka make install-all || failed=1 subheader "Successfully installed serverless operator." + + # Workaround default 'https' scheme + oc patch knativeserving.operator.knative.dev/knative-serving \ + --namespace knative-serving --type merge \ + --patch '{"spec":{"config":{"network":{"defaultExternalScheme":"http"}}}}' || return 1 header "Applying Strimzi Topic CR" cat <<-EOF | oc apply -n kafka -f - || failed=1