Skip to content

Commit 96a7cb8

Browse files
committed
Revert "Tmp - HTTPs"
This reverts commit 9eb374c.
1 parent 9eb374c commit 96a7cb8

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ act --job=build \
3838

3939
```shell
4040
export DOCKER_REPO_OVERRIDE="quay.io/kevent-mesh"
41-
export AI_DEMO_IMAGE_TAG="main"
41+
export AI_DEMO_IMAGE_TAG="my-tag"
4242
4343
./infra/openshift-manifests/install.sh
4444
```

infra/openshift-manifests/lib.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function add_minio_webhook(){
7070

7171
function patch_knative_serving(){
7272
# patch knative serving to use http instead of https in the service status url
73-
oc patch knativeserving -n knative-serving knative-serving -p '{"spec":{"config":{"network":{"default-external-scheme": "https"}}}}' --type=merge
73+
oc patch knativeserving -n knative-serving knative-serving -p '{"spec":{"config":{"network":{"default-external-scheme": "http"}}}}' --type=merge
7474

7575
# patch knative serving to only keep one revision of a service
7676
kubectl patch configmap/config-gc \
@@ -93,7 +93,7 @@ function patch_ui_service_configmap(){
9393
echo "uploadServiceUrl: ${uploadServiceUrl}"
9494

9595
replyServiceUrl=$(oc get route -n ai-demo reply-service -o jsonpath="{.spec.host}")
96-
replyServiceUrl="https://${replyServiceUrl}"
96+
replyServiceUrl="http://${replyServiceUrl}"
9797
echo "replyServiceUrl: ${replyServiceUrl}"
9898

9999
feedbackServiceUrl=$(oc get ksvc -n ai-demo feedback-service -o jsonpath="{.status.url}")

infra/openshift-manifests/reply-service/service.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,4 @@ spec:
138138
name: reply-service-exposed
139139
port:
140140
targetPort: 8080
141-
tls:
142-
termination: edge
143141
wildcardPolicy: None

0 commit comments

Comments
 (0)