-
Notifications
You must be signed in to change notification settings - Fork 55
feat: add names for rules under maas api http route #655
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
Open
nirrozenbaum
wants to merge
1
commit into
opendatahub-io:main
Choose a base branch
from
nirrozenbaum:httproute
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+4
−2
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
For Kubernetes Gateway API, in which versions is HTTPRoute.spec.rules[].name supported in gateway.networking.k8s.io/v1, and are there controller compatibility caveats (e.g., Envoy Gateway, Istio, Kong, OpenShift ingress implementations)?💡 Result:
When is
HTTPRoute.spec.rules[].namesupported ingateway.networking.k8s.io/v1?HTTPRoute.spec.rules[].name(aNamefield onHTTPRouteRule) is available starting with Kubernetes Gateway API v1.4.0 (Standard channel) and therefore is present in thegateway.networking.k8s.io/v1CRDs for v1.4.0+. It is not in the v1.0–v1.3v1CRDs. [1]This comes from GEP-995 (Named route rules), which added an optional
namefield to route-rule types (includingHTTPRouteRule). [2]Practical implication: the field will only round-trip (be stored) if your cluster has Gateway API CRDs >= v1.4.0 installed; otherwise it will be rejected/pruned by schema.
Controller compatibility caveats (Envoy Gateway / Istio / Kong / OpenShift)
Envoy Gateway
HTTPRouteRule.nameusage. [4]Istio
Kong (KIC / Kong Operator)
spec.rules[].namemay not be supported in the bundled/expected Gateway API version for that product line/version. [6]OpenShift ingress / OpenShift Gateway API implementation
HTTPRouteRule.namebehavior; assume it’s accepted if the CRD is v1.4+ but may be ignored by the controller unless explicitly implemented.Sources
[1] Kubernetes Gateway API GitHub releases – v1.4.0 notes (adds
Namefield toHTTPRouteRule)[2] GEP-995: Named route rules
[3] Envoy Gateway compatibility matrix (Gateway API version per EG release)
[4] Envoy Gateway HTTPRoute API docs (documents
namefield on rules)[5] Gateway API implementations/conformance page for v1.4
[6] Kong Operator version compatibility (Gateway API versions listed through v1.3.x)
[7] OKD/OpenShift Gateway API documentation (implementation/provisioning constraints)
🏁 Script executed:
Repository: opendatahub-io/models-as-a-service
Length of output: 2579
🏁 Script executed:
Repository: opendatahub-io/models-as-a-service
Length of output: 15731
🏁 Script executed:
Repository: opendatahub-io/models-as-a-service
Length of output: 1169
Document minimum Gateway API version requirement (v1.4.0+) for
HTTPRoute.spec.rules[].namefield.rules[].nameis only supported in Gateway API v1.4.0+; earlier CRD versions will reject this field during schema validation. This is an architectural compatibility issue with no minimum version constraint documented in the deployment config or README. Verify the deployment is targeting OpenShift 4.18+ (or equivalent cluster Gateway API version) and add explicit documentation of this requirement.Also applies to: lines 21-22 (second rule
name: maas-api)🤖 Prompt for AI Agents