Skip to content
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

feat: implement rewrite path prefix filter for HTTPRoute in expressions router mode #5940

Merged
merged 1 commit into from
May 6, 2024

Conversation

czeslavo
Copy link
Contributor

@czeslavo czeslavo commented Apr 26, 2024

What this PR does / why we need it:

Extends HTTPRoute's URLRewrite filter with path type ReplacePrefixMatch support to the expressions router. Adds SupportHTTPRoutePathRewrite feature to the Gateway API conformance tests for expressions router.

Which issue this PR fixes:

Part of #3686.

Special notes for your reviewer:

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

@czeslavo czeslavo added the area/gateway-api Relating to upstream Kubernetes SIG Networking Gateway API label Apr 26, 2024
@czeslavo czeslavo self-assigned this Apr 26, 2024
@czeslavo czeslavo added this to the KIC v3.2.x milestone Apr 26, 2024
@czeslavo czeslavo force-pushed the feat/url-path-rewrite-expressions branch 2 times, most recently from 08712b3 to 60e7b41 Compare April 26, 2024 13:54
Copy link

codecov bot commented Apr 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.0%. Comparing base (5687b74) to head (7090f7b).

Additional details and impacted files
@@           Coverage Diff           @@
##            main   #5940     +/-   ##
=======================================
+ Coverage   72.3%   74.0%   +1.7%     
=======================================
  Files        179     179             
  Lines      18382   18393     +11     
=======================================
+ Hits       13294   13624    +330     
+ Misses      4108    3754    -354     
- Partials     980    1015     +35     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Base automatically changed from feat/url-path-rewrite-httproute to main May 6, 2024 13:53
@pull-request-size pull-request-size bot added size/XL and removed size/L labels May 6, 2024
@czeslavo czeslavo force-pushed the feat/url-path-rewrite-expressions branch from 60e7b41 to b277fc5 Compare May 6, 2024 14:21
@pull-request-size pull-request-size bot added size/L and removed size/XL labels May 6, 2024
@czeslavo czeslavo force-pushed the feat/url-path-rewrite-expressions branch from b277fc5 to 794ddfc Compare May 6, 2024 14:24
@czeslavo czeslavo marked this pull request as ready for review May 6, 2024 14:31
@czeslavo czeslavo requested a review from a team as a code owner May 6, 2024 14:31
@czeslavo czeslavo force-pushed the feat/url-path-rewrite-expressions branch from 794ddfc to 7090f7b Compare May 6, 2024 14:31
@rainest rainest merged commit 641c73c into main May 6, 2024
38 checks passed
@rainest rainest deleted the feat/url-path-rewrite-expressions branch May 6, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/gateway-api Relating to upstream Kubernetes SIG Networking Gateway API size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants