Closed starcraft66 closed 1 year ago
The whole reason I decided to use traefik's IngressRoute over the vanilla Ingress was the ability to use regexes in paths. Upon realizing external-dns did not support IngressRoute, I was directed to this project. Unfortunately, for a rule like:
IngressRoute
Ingress
- kind: Rule match: Host(`www.lab.otakuthon.com`) && PathRegexp(`^/[0-9]{4}res$`)
where a host can can still be inferred because there is no regex in the host part, switchboard trips up on the PathRegexp part. From the logs:
PathRegexp
2023-02-25T20:58:21.516Z ERROR failed to parse hosts from ingress route {"name": "www-dev/www", "error": "failed to parse domains: unsupported function: PathRegexp"}
Nevermind, misunderstood how PathRegexp works.
The whole reason I decided to use traefik's
IngressRoute
over the vanillaIngress
was the ability to use regexes in paths. Upon realizing external-dns did not supportIngressRoute
, I was directed to this project. Unfortunately, for a rule like:where a host can can still be inferred because there is no regex in the host part, switchboard trips up on the
PathRegexp
part. From the logs: