Open MustafaSaber opened 3 weeks ago
maybe it's not a good idea to have this at all
@szuecs
A problem with the current implementation is that a request can flap between 2 or more routes
request to foo.example
with
r: Host("*.example") -> <shunt>;
s: Host("foo.example") -> <shunt>;
converting host from Ingress/RouteGroup for
Host
predicate doesn't take into consideration that Ingress support wildcard hostnames (see https://kubernetes.io/docs/concepts/services-networking/ingress/#hostname-wildcards) and we produce invalid regexThis PR adds testcases to reproduce the error, requires fix before merging.
following ingress produce
Error:
fixes https://github.com/zalando/skipper/issues/3297