Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ingress/gateway-api: sort virtual hosts in CEC #31493

Commits on Mar 19, 2024

  1. ingress/gateway-api: sorted virtual hosts

    Currently, while translating K8s Ingress or Gateway API resources into
    Envoy resources, the virtualhosts aren't sorted. This leads to situations
    (especially in combination with Shared Ingress) where the order of the virtual
    hosts isn't guaranteed.
    
    Therefore, this commit orders the virtualhosts within a Envoy RouteConfiguration
    by their name. This influences the Envoy route matching process
    (https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_conn_man/route_matching),
    but only by making it constant and not random.
    
    Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
    mhofstetter committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    ab832eb View commit details
    Browse the repository at this point in the history