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

K8S Ingress spec missing URL rewrite capability #1723

Closed
m62534 opened this issue Jun 3, 2022 · 1 comment
Closed

K8S Ingress spec missing URL rewrite capability #1723

m62534 opened this issue Jun 3, 2022 · 1 comment

Comments

@m62534
Copy link

m62534 commented Jun 3, 2022

Missing a way of configuration-as-code/infra-as-code for k8s ingress to perform the following actions (which can be done via gui): https://cloud.google.com/load-balancing/docs/https/setting-up-url-rewrite#modifying_the_url_map

outcome:

  1. user navigates to somesite.com/public/ql
  2. url map redirects to somesite.com/api/ql/external
@swetharepakula
Copy link
Member

The K8s Ingress API is in V1 and does not support providing a rewrite for a path. The Gateway API is meant to replace the Ingress API in Kubernetes and natively supports rewrites. We will look to support this feature in the GKE Gateway implementation.

Please look to the GKE Gateway Docs for more information about the GKE implementation.

@swetharepakula swetharepakula closed this as not planned Won't fix, can't repro, duplicate, stale Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants