solo-io / gloo

The Feature-rich, Kubernetes-native, Next-Generation API Gateway Built on Envoy

Home Page:https://docs.solo.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add the ability to propagate custom labels to RouteTables

edubonifs opened this issue · comments

Gloo Edge Product

Enterprise

Gloo Edge Version

1.15

Is your feature request related to a problem? Please describe.

In Gloo Portal, one of our clients would like to propagate the the labels used on EnvironmentSpec.GatewayConfig.VirtualServiceLabelsEntry, also to RouteTables.

They would like to have our custom labels to target/filter generated RouteTable from existing VirtualService (created manually) and not be exposed to a change of generated label pattern for instance during an upgrade. They also want to add more logic/rules with those custom labels we would like to add on generated RouteTable.

Describe the solution you'd like

Specifically they are asking for being able to add custom labels on generated RouteTable from different locations:

  • From ApiProduct object.
  • From Environment object in every apiProducts subgroups targeted by portal.gloo.solo.io.ProductSelector (behind a basePath if needed.)
  • Any other location allowing to "compose" RouteTable groups to be targeted from already existing VirtualService.

Describe alternatives you've considered

No response

Additional Context

No response