Skip to content

Users can't create private routes by default #111

Description

@rustyjux

By default, users can't create private routes (where route hosts end in .cluster.local which creates a route .svc.cluster.local). As is, it is necessary to go into keycloak authz and add .svc.cluster.local to perm-domains.

The issue likely lies in validate_hosts() here -

def validate_hosts(yaml, reserved_hosts, ns_attributes):

Resolution could include adding .svc.cluster.local to the default list of allowed_domains or otherwise modifying the function logic.

I have a note from a conversation with Aidan that the issue may be a misplaced if statement (should be else) following the if statement checking if it’s a valid local route, but I'm not soo sure about this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingjira

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions