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

Gateway API: allow wildcard hostnames to match more than one DNS label #4559

Merged
merged 4 commits into from
Jun 6, 2022

Conversation

skriss
Copy link
Member

@skriss skriss commented Jun 6, 2022

Changes Gateway API hostname logic to allow
wildcard hostnames to match more than one
DNS label per clarification in the upstream
spec.

Closes #4554.

Signed-off-by: Steve Kriss krisss@vmware.com

Changes Gateway API hostname logic to allow
wildcard hostnames to match more than one
DNS label per clarification in the upstream
spec.

Closes projectcontour#4554.

Signed-off-by: Steve Kriss <krisss@vmware.com>
@skriss skriss requested a review from a team as a code owner June 6, 2022 17:07
@skriss skriss requested review from tsaarni and youngnick and removed request for a team June 6, 2022 17:07
Signed-off-by: Steve Kriss <krisss@vmware.com>
@skriss skriss requested a review from sunjayBhatia June 6, 2022 17:08
@skriss skriss added the release-note/small A small change that needs one line of explanation in the release notes. label Jun 6, 2022
@codecov
Copy link

codecov bot commented Jun 6, 2022

Codecov Report

Merging #4559 (5e94283) into main (f0b8cb9) will increase coverage by 0.00%.
The diff coverage is 100.00%.

❗ Current head 5e94283 differs from pull request most recent head 3eb7dc4. Consider uploading reports for the commit 3eb7dc4 to get more accurate results

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4559   +/-   ##
=======================================
  Coverage   76.94%   76.94%           
=======================================
  Files         139      139           
  Lines       12751    12750    -1     
=======================================
  Hits         9811     9811           
+ Misses       2684     2683    -1     
  Partials      256      256           
Impacted Files Coverage Δ
internal/dag/gatewayapi_processor.go 95.76% <100.00%> (-0.01%) ⬇️
internal/sorter/sorter.go 98.78% <0.00%> (+0.60%) ⬆️

Signed-off-by: Steve Kriss <krisss@vmware.com>
Copy link
Member

@sunjayBhatia sunjayBhatia left a comment

Choose a reason for hiding this comment

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

lgtm, just one test description nit

Signed-off-by: Steve Kriss <krisss@vmware.com>
@skriss skriss merged commit b9294b6 into projectcontour:main Jun 6, 2022
@skriss skriss deleted the pr-gateway-wildcard-hostnames branch June 6, 2022 20:18
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: change wildcard hostnames to be suffix-matching, not single segment-matching
2 participants