-
Notifications
You must be signed in to change notification settings - Fork 703
HTTPProxy: support Host header rewrites per-service #5195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTPProxy: support Host header rewrites per-service #5195
Conversation
Updates projectcontour#4002 Signed-off-by: Fang Peng <[email protected]>
|
The code change LGTM, I don't think anything further is needed - just need to finalize tests. Can also drop this line now: https://github.com/projectcontour/contour/blob/main/apis/projectcontour/v1/httpproxy.go#L885 (will need to run |
Also add a yaml example for host header rewrite on both route and service level. Signed-off-by: Fang Peng <[email protected]>
Also add missing comma Signed-off-by: Fang Peng <[email protected]>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #5195 +/- ##
==========================================
- Coverage 78.02% 77.92% -0.10%
==========================================
Files 138 138
Lines 17545 17742 +197
==========================================
+ Hits 13690 13826 +136
- Misses 3591 3650 +59
- Partials 264 266 +2
|
Signed-off-by: Fang Peng <[email protected]>
skriss
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks @fangfpeng!
) Closes projectcontour#4002 Signed-off-by: Fang Peng <[email protected]>
) Closes projectcontour#4002 Signed-off-by: Fang Peng <[email protected]> Signed-off-by: yy <[email protected]>
Closes #4002