Skip to content

Define the universe of resources that can be "routes" #88

Closed
@Miciah

Description

@Miciah

What would you like to be added:
The universe of allowable resources that can be "routes" should be defined.

For example, the universe could be defined as HTTPRoute, TCPRoute (if the gateway controller implements TCPRoute, which is an extension), and any additional resources as defined by the gateway controller implementation.

Why is this needed:
In a discussion of allowing the use of label selectors instead of object references to specify routes, @howardjohn raised the objection that a controller must know the type of the route:

routes may select objects other than just HttpRoute and TcpRoute. With this approach, an implementer would need to to query for all objects for the label? I suppose they could limit it to the set of objects that they consider valid routes though

#12 (comment)

It would be useful to be able to say that the label selector can match (for example) HTTPRoute, TCPRoute, and any additional implementation-specific resources, as defined by the gateway controller. With this definition, an implementer would know to use informers for these specific resources.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions