Skip to content

Support "Selector" for allowed routes in the Gateway API entity. #1457

@ajago

Description

@ajago

Welcome!

  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What do you want to achieve with this Chart ?

I want to be able to configure allowed routes using a selector with this chart. For example like this page in the docs - https://gateway-api.sigs.k8s.io/guides/multiple-ns/#shared-gateway

The current functionality only lets the user configure the from field in the namespaces section. This works for Same and All values. However it is not flexible enough to use the selector functionality, where a selector field is also needed.

My initial suggestion is to repurpose the namespaces value to be an object to pass in the values needed. This is simple but is a breaking change. If this is not acceptable then I would be happy to take guidance on the best way forward with this.

Example of what I mean - ajago#1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions