Skip to content

Commit

Permalink
Fix default https scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimansk committed Oct 1, 2021
1 parent e3e3da9 commit 5a49222
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions openshift/e2e-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5a49222

Please sign in to comment.