0

With default configurations, does istio-proxy(sidecar) manipulate incoming/outgoing requests from the application container?

RMNull
  • 149
  • 3
  • 12
  • 1
    There are a couple of cases like [distributed tracing](https://istio.io/latest/docs/tasks/observability/distributed-tracing/overview/#trace-context-propagation) and [mutual TLS](https://istio.io/latest/docs/tasks/security/authentication/authn-policy/#auto-mutual-tls) that add headers; is there something specific you're looking for? How does this relate to the application code you're writing? – David Maze Dec 24 '21 at 14:41
  • I noticed some of the headers including content type were malformed. I have verified that these are not from the application itself, so was wondering if Istio added them... Now that there were no distributed tracing or mTLS configured, these must probably be coming from the client making these requests. Thanks for the response @DavidMaze – RMNull Dec 27 '21 at 09:56

1 Answers1

1

Comment posted by David Maze is good and this could be part of an answer:

There are a couple of cases like distributed tracing and mutual TLS that add headers;

These are the two methods by which you can manipulate the headers using istio. Additionally, in the official documentation you can find a simple tutorial with yaml files, where you will learn how to manage headers. It is also displayed how you can create request header operation. However, take into account that this tutorial is based on an outdated version of Istio and you should use the latest supported version for your solution.

Mikołaj Głodziak
  • 4,775
  • 7
  • 28