Skip to content

MeshHTTPRoute with a MeshGateway targetRef is restricted to a system namespace #12864

Open
@tony-bondarenko

Description

Description

I've spent several hours trying to understand why I'm getting the following error when creating MeshHTTPRoute with MeshGateway as a targetRef:
The MeshHTTPRoute "test-route" is invalid: spec.targetRef.kind: value is not supported

Only after digging into a source code I found out that MeshGateway kind is supported only when MeshHTTPRoute is created in a kuma system namespace.
It makes sense to add a warning to documentation about this. I've looked through docs multiple times and haven't noticed anything about this limitation.

Also, having routes to gateway in another namespaces rather than system, sound as a valid use case to me: i have a separate builtin gateway deployed for a project in the project namespace. I'd like to let namespace users to register routes for their gateway rather than granting them access to kuma system namespace. May be it makes sense to consider this functionality.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    kind/featureNew featuretriage/acceptedThe issue was reviewed and is complete enough to start working on it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions