Search code examples
istio

Can istio rewrite HTTLS/TLS traffic?


According to their documentation of TLSRoute it does not include rewrite that you typically do for HTTPRoute`

Is it possible to do the same for HTTPS or TLS ?

  http:
  - match:
    - uri:
        prefix: /ratings
    rewrite:
      uri: /v1/bookRatings
    route:
    - destination:
        host: ratings.prod.svc.cluster.local

Solution

  • When TLS traffic is not terminated, traffic (including the URL parts needed for rewrite) is encrypted and therefore Istio can't read or manipulate it. Therefore, these options are not available.