Has anyone been able to define Capturing groups [1] as paths on a Kubernetes Ingress Resource when using the kong ingress controller?
According to [2], kong api gateway and kubernetes support different regex, I tried using /base/(?<var_name>[a-z]+), but this is not a valid regex for the kubernetes ingress resource.
What I try to achieve is to rewrite [3] all paths that match the /base/ endpoint and rewrite it to /different_base/v1 endpoint as pointed on this Github Issue [4].
[1] - https://docs.konghq.com/0.14.x/proxy/#capturing-groups
[2] - Kong ingress controller and path based routing - #6 by hbagdi
[3] - GitHub - stone-payments/kong-plugin-url-rewrite: Kong API Gateway plugin for url-rewrite purposes
[4] - Rewrite dynamic part of URL · Issue #21 · stone-payments/kong-plugin-url-rewrite · GitHub