Replies: 1 comment
-
this was discussed in Kubernetes Gateway API Slack sig-network-gateway-api https://kubernetes.slack.com/archives/CR0H13KGA/p1675122817360569 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I wonder if anyone could clarify the expected behavior for routing rules validation. Thanks!
(1)
When parsing a routing rule, an implementation might see a value of some field that is invalid or not supported by the implementation. For example:
PathMatchType
inHTTPPathMatch
is not one ofExact;PathPrefix;RegularExpression
HTTPRouteFilterType
inHTTPRouteFilterType
is not one of the values supported by the implementation.For those cases, the prescribed behavior is
However, in GEP-1364, it is mentioned:
which seems to contradict the behavior above.
So I wonder which way an implementation should implement in case of a mix of valid and invalid rules in an HTTPRoute.
(2)
There are cases when an implementation might not support a whole field, not just some values of it. For example,
Method
inHTTPRouteMatch
. For those cases, is "accepted Condition for the Route tostatus: False
with a Reason ofUnsupportedValue
" still an appropriate condition?(3)
for fields that are not bound to any enum. For example,
Value
inHTTPPathMatch
. If an implementation considers its value invalid, is "accepted Condition for the Route tostatus: False
with a Reason ofUnsupportedValue
" still an appropriate condition? In this case, something likeInvalidValue
seems more appropriate.Beta Was this translation helpful? Give feedback.
All reactions