Cross-Namespace HTTPRouteFilter type extensionRef
What would you like to be added: I am using traefik to configure a middlewere once in the infra-ns. I would like this middlewere to be available in other namespaces for HTTPRouteFilter to use https://gateway-api.sigs.k8s.io/reference/spec/#httproutefilter According to spec extensionRef is LocalObjectReference which is bound to the same namespace
Why this is needed: https://gateway-api.sigs.k8s.io/guides/multiple-ns/?h=cros#cross-namespace-routing Since "Gateway API has core support for cross Namespace routing. This is useful when more than one user or team is sharing the underlying networking infrastructure, yet control and configuration must be segmented to minimize access and fault domains." It just make since to have some middleweres at infra level.
I need this as well and I assume many traefik users that migrate to Gateway API require this feature. From code change perspective the changes are very trivial.
Hello,
I'am really interested about this feature too.
@fgeck Please can you continue to work on this feature (https://github.com/kubernetes-sigs/gateway-api/pull/3916) ?
Thank you.
This change would require a GEP to specify how the change will actually work; note that at a minimum, it will mean that the ExtensionReference middleware object being referenced would need a ReferenceGrant alongside it for the cross-namespace reference to be okay.
I'm totally agree with you @youngnick, "ReferenceGrant" must be created also to validate the cross namespace mechanism.
What is the next step to help to implement this feature ?
Hey @jgalais unfortunately I don't have sufficient capacity to implement the changes especially as I am completely new to contributing to the Kubernetes project
The next steps for this would be to promote this to a GEP and push to have it included in a release. Note that this will require someone to put their hand up to do the work to push this forward, along with a shepherd. Keep an eye out for the new release process once we start kicking off the v1.5 release process soon.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle stale - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
/remove-lifecycle stale