I am trying to intercept all outbound http/s traffic from a pod and add a custom header to the request. After reading some documentation I came to the understanding that an envoy filter on SIDECAR_OUTBOUND with some custom lua code would do the trick. So this is the configuration that I did:
- applyTo: HTTP_FILTER
And it works perfectly fine for http requests. However, it seems that the filter does not run at all when the request is over https and I don’t understand what is the reason for that. Is there any way to apply the filter for https requests as well?