Closed kghost closed 2 weeks ago
Hey @kghost! Thanks for opening your first issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on Contour. You can also join us on our mailing list and in our channel in the Kubernetes Slack Workspace
~~Yeah it's not supported yet https://github.com/projectcontour/contour/issues/2431 Working on it~~ Oh this is for gateway api httproute, then it's probably a bug https://github.com/projectcontour/contour/blob/main/changelogs/CHANGELOG-v1.28.0.md#gateway-api-backend-protocol-selection
According to the changelog
The accepted values are
kubernetes.io/h2c
andkubernetes.io/ws
This is too restrictive and doesn't compliance with the spec.
What steps did you take and what happened:
Create a service with appProtocol:
Create a httproute with pointing to to service:
What did you expect to happen:
The route is installed successfully, but got an error:
According to the spec https://kubernetes.io/docs/concepts/services-networking/service/#application-protocol
appProtocol can be IANA service names listed here: https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
These should be all valid:
Anything else you would like to add:
Environment:
kubectl version
): v1.30.1/etc/os-release
):