Confirm post-GWAPI 0.8 status of wildcard hostname HTTP(S) Listeners #4597
Labels
area/gateway-api
Relating to upstream Kubernetes SIG Networking Gateway API
area/tests
bug
Something isn't working
GWAPI 0.8.0 introduces CEL validation of various resource fields. Listeners now have a CRD-level rule that ensures that no pair of Listeners has identical Port, Hostname, and Protocol values.
This rule has an apparent bug handling Hostname-aware Listeners where one Listener has a set Hostname and one does not. The spec allows a single Listener with an unset Hostname on a given Port+Protocol. This Listener matches any Hostname if no more specific Hostname matches.
The CEL rule apparently requires an actual Hostname value to check if they are equal. Including both a nil Hostname and set Hostname in a Gateway fails:
Our existing GWAPI integration tests include one such Gateway. We need to confirm with upstream if blocking these is indeed intended. Based on my understanding of the spec, they should not be blocked: kubernetes-sigs/gateway-api#2369
The text was updated successfully, but these errors were encountered: