Hey folks,
I have 2 services: one that handles account concerns and another that does other stuff.
I would like for the account service to handle traffic for a requests on the /account path for a number of domains: i.e. {aaa,bbb,ccc}.com/account
I have created other istio VirtualService as below but it's not working as it rewrites the authority (host+path) so the actual service never knows the original Host header of the request.
Do you have any ideas on how to handle this case?
kind: VirtualService
metadata:
name: account-route
spec:
gateways:
- knative-serving/knative-ingress-gateway
hosts:
http:
- match:
- uri:
exact: "/account"
rewrite:
route:
- destination:
host: knative-local-gateway.istio-system.svc.cluster.local
weight: 100
Many thanks in advance!