Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fangfpeng
Copy link
Contributor

  • support regex path and regex header match for HTTPRoute.
  • support regex header match for GRPCRoute.

Fixes #3357
Fixes #5219

- support regex path and regex header match for HTTPRoute.
- support regex header match for GRPCRoute.

Fixes projectcontour#3357
Fixes projectcontour#5219

Signed-off-by: Fang Peng <[email protected]>
@fangfpeng fangfpeng requested a review from a team as a code owner March 31, 2023 22:59
@fangfpeng fangfpeng requested review from skriss and tsaarni and removed request for a team March 31, 2023 23:00
Signed-off-by: Fang Peng <[email protected]>
Signed-off-by: Fang Peng <[email protected]>
@codecov
Copy link

codecov bot commented Apr 1, 2023

Codecov Report

Merging #5239 (a56efd9) into main (cc3b6f7) will increase coverage by 0.05%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5239      +/-   ##
==========================================
+ Coverage   77.85%   77.90%   +0.05%     
==========================================
  Files         138      138              
  Lines       17759    17856      +97     
==========================================
+ Hits        13826    13911      +85     
- Misses       3665     3675      +10     
- Partials      268      270       +2     
Impacted Files Coverage Δ
internal/dag/gatewayapi_processor.go 94.31% <100.00%> (-0.61%) ⬇️
internal/envoy/v3/route.go 78.43% <100.00%> (+0.06%) ⬆️
internal/gatewayapi/helpers.go 87.94% <100.00%> (ø)

... and 2 files with indirect coverage changes

Copy link
Member

@skriss skriss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @fangfpeng! Couple comments

@skriss skriss added the release-note/minor A minor change that needs about a paragraph of explanation in the release notes. label Apr 7, 2023
@skriss skriss requested a review from sunjayBhatia April 7, 2023 20:01
@skriss skriss added release-note/small A small change that needs one line of explanation in the release notes. and removed release-note/minor A minor change that needs about a paragraph of explanation in the release notes. labels Apr 7, 2023
Copy link
Member

@skriss skriss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates @fangfpeng, LGTM!

Signed-off-by: Fang Peng <[email protected]>
@sunjayBhatia sunjayBhatia merged commit eb2b000 into projectcontour:main Apr 11, 2023
padlar pushed a commit to padlar/contour that referenced this pull request Apr 20, 2023
* Gateway API: support regex path and header match

- support regex path and regex header match for HTTPRoute.
- support regex header match for GRPCRoute.

Fixes projectcontour#3357
Fixes projectcontour#5219

Signed-off-by: Fang Peng <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-note/small A small change that needs one line of explanation in the release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Gateway API: support regex path match [custom conformance] Gateway API: "RegularExpression" HTTPHeaderMatch [custom]

3 participants