Add port number to route example (#1671)

* Add port number to route example

When having TLS termination in a Gateway, this example stops working because the gateway doesn't know what to do with HTTP traffic on port 443. Fixing the port to 80 solved this for me.

* Add port to search service dest
This commit is contained in:
Edvin Erikson 2019-08-14 18:06:07 +02:00 committed by Knative Prow Robot
parent 70dbb222ee
commit af74d6c18b
1 changed files with 4 additions and 0 deletions

View File

@ -40,6 +40,8 @@ spec:
# eventually be directed to Search service.
- destination:
host: istio-ingressgateway.istio-system.svc.cluster.local
port:
number: 80
weight: 100
- match:
- uri:
@ -54,4 +56,6 @@ spec:
# eventually be directed to LOgin service.
- destination:
host: istio-ingressgateway.istio-system.svc.cluster.local
port:
number: 80
weight: 100