Repository navigation
fix(kubernetes): refuse an IP-address endpoint for an OpenShift Route - #14523
Merged
Merged
Conversation
NemoClaw sets the Route's host to the endpoint's host, and clients send no SNI host name for an IP address, so the router could never match it. Plan now refuses one with expose.route and says that expose.service accepts it. Signed-off-by: Carlos Villela <[email protected]>
Collaborator
Author
Authoring session — opening
|
Contributor
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plan now rejects an IP-address endpoint on a managed OpenShift gateway published with
gateway.kubernetes.expose.route, because the Route could never serve it.Problem
#14522 sets the Route's host to
spec.gateway.endpoint's host. The schema accepted an IP address there, such ashttps://192.0.2.10:443. TLS clients send no SNI host name for an IP address, so the router can't match the pass-through Route, and clients never reach the gateway. Plan and apply still succeeded.Follows #14522, part of #14518.
Change
routerequires OpenShift" rule rejects an IPv4 endpoint host withexpose.route. The error says a Route needs a DNS name and thatexpose.serviceaccepts an IP address.routefield description, the parser checks, the release note, and the generated schema and reference say the same.