Kong for K8 does not honor strip-path annotations in the ingress resource.
Kong Ingress controller version
ingress resource path is “/share”. for e.g ingress.yaml
- path: /share
Kong proxy is updating routes.strip-path field in kong database to “TRUE” and stripping the path “/share/” from the path while forwarding the request. for e.g path with “/share/page/index.html” is getting forwarded to backend as “/page/index.html”
We expected Kong proxy to update routes.strip-path field in kong database to false but the value is always TRUE for all routes. We expected Kong proxy to not strip the path vaule “/share” and forward the request to backend service with the correct path “/share/*”. for e.g path with “/share/page/index.html” should get forwarded to backend as “/share/page/index.html”