Skip to content

Refactor checkForRouteOverlap for policy validationΒ #3812

@sarthyparty

Description

@sarthyparty

Describe the bug
I cannot figure out exactly what bugs are happening here. In policies.go L463, logic here seems a little broken. Need to merge listener hostnames with route hostnames so wildcards are handled correctly. Also the AcceptedHostnames is a map of slices of strings, so we need to flatten it. This is related to #3811

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    βœ… Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions