-
Notifications
You must be signed in to change notification settings - Fork 689
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
StripTrailingHostDot: Expose new configuration option to enable Envoy removal of trailing dot on hostnames #6792
base: main
Are you sure you want to change the base?
Conversation
Hi @saley89! Welcome to our community and thank you for opening your first Pull Request. Someone will review it soon. Thank you for committing to making Contour better. You can also join us on our mailing list and in our channel in the Kubernetes Slack Workspace |
Fixes projectcontour#6334 Signed-off-by: David Sale <[email protected]>
The Contour project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to the #contour channel in the Kubernetes Slack |
Any thoughts on this one? This is quite a small, safe change adding a new configuration flag to add the option to the configured listener. It is based heavily on the |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6792 +/- ##
=======================================
Coverage 81.05% 81.06%
=======================================
Files 133 133
Lines 20026 20037 +11
=======================================
+ Hits 16232 16242 +10
- Misses 3500 3501 +1
Partials 294 294
|
@tsaarni for this one is there anything else I need to do/add or is it in a state that it can be added to an upcoming release? I ask mainly for our planning purposes as we are maintaining a fork for now with some of our changes and will take the upstream once they become merged. Thanks. |
The Contour project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to the #contour channel in the Kubernetes Slack |
Fixes #6334
This PR adds:
NetworkParameters
of Contour.StripTrailingHostDot
.true
will configure all Envoy routing to strip any trailing dot from a hostname before processing the request. This will allow it to be matched by any existing routes for that hostname without a dot.true
being added to the underlying listener configuration.