pomerium icon indicating copy to clipboard operation
pomerium copied to clipboard

envoyconfig: add authority header to outbound gRPC requests

Open calebdoxsey opened this issue 2 years ago • 1 comments

Summary

Update the envoy config for outbound gRPC requests so that the authority header gets rewritten to match the cluster's destination address.

Related issues

Fixes https://github.com/pomerium/pomerium/issues/3505

User Explanation

Fixes an issue with route matching for Istio.

Checklist

  • [x] reference any related issues
  • [ ] updated docs
  • [x] updated unit tests
  • [ ] updated UPGRADING.md
  • [x] add appropriate tag (improvement / bug / etc)
  • [ ] ready for review

calebdoxsey avatar Aug 10 '22 20:08 calebdoxsey

Coverage Status

Coverage increased (+0.2%) to 65.497% when pulling 23d496e9e4b394ef7bc1f42e32d3457ee808495d on cdoxsey/outbound-authority into f87e138eab2a0bc6f3a58c6f1018a5d930585ff8 on main.

coveralls avatar Aug 10 '22 21:08 coveralls

Marking as blocked until we can confirm the fix from @bennycooly

desimone avatar Aug 22 '22 23:08 desimone