kubernetes-sigs / kubernetes-sigs/gateway-api
Support regex based path rewrites
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3k
- Forks
- 790
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 45
Description
What would you like to be added:
Tracks support for regex based path substitution mentioned in the GEP
https://gateway-api.sigs.k8s.io/geps/gep-726/#future-extension
Why this is needed:
Automate path rewrites that have a common pattern
e.g.
/auth/v1/{pattern} -> /self-service/{pattern}/browser
/auth/v1/login -> /self-service/login/browser
/auth/v1/recovery -> /self-service/recovery/browser
/auth/v1/settings -> /self-service/settings/browser
Related
- Thoughts from users and maintainers regarding supporting this - https://github.com/kubernetes-sigs/gateway-api/issues/726#issuecomment-984430631
- Supported in Istio - https://github.com/istio/istio/issues/22290 / https://github.com/istio/istio/pull/45398
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the GEP-726 Future Extension section, then read the linked user and maintainer discussion and Istio references to compare existing approaches. Clarify the intended Gateway API scope and semantics for regex substitutions, using the /auth/v1/{pattern} examples as acceptance criteria; completion requires an agreed design rather than a specific file change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, kubernetes
- Domain
- api, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100