Repository navigation
[Automated] Draft docs (agentgateway): gateway api: support new backend url rewrite filter - #1231
Merged
Merged
Conversation
…nd url rewrite filter Signed-off-by: GitHub Action <action@github.com>
Deploying agentproxy with
|
| Latest commit: |
e07042a
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0a3dd5a4.agentproxy.pages.dev |
| Branch Preview URL: | https://pr-tracker-draft-agentgatewa-xvpq.agentproxy.pages.dev |
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: Kristin Brown <kristin.brown@solo.io>
…eway-3755 Signed-off-by: Kristin Brown <kristin.brown@solo.io>
kristin-kronstain-brown
approved these changes
Oct 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
agentgateway/agentgateway#3755 — gateway api: support new backend url rewrite filter
Docs versions:
standalone/main,kubernetes/mainWhat changes for users: Kubernetes HTTPRoute backendRefs can now carry a
URLRewritefilter inspec.rules.backendRefs.filters, so a host or path rewrite can apply only to the selected backendRef instead of the whole route rule.What the docs now say: The Host rewrites and Path rewrites guides now show backend-specific rewrite sections with the
spec.rules.backendRefs.filters.urlRewriteshape for host and path rewrites.Not verified: No cluster was configured for this run, so the examples are unrun.
How
agentgateway-3755was drafted, and what was not verifiedPlan, and what changed it
urlRewritehit.HTTPRouteFilterURLRewritehandling inBuildAgwBackendPolicyFilters; the standalone rewrites page already covers route-levelpolicies.urlRewriteand no standalone schema field changed.Why a documentation change is necessary
The existing rewrite guides show
URLRewriteunderspec.rules.filters, which applies the rewrite to the whole HTTPRoute rule. The pull request adds support for the same Gateway APIURLRewritefilter underbackendRefs[].filters, where the rewrite applies only to the selected backend. Without an update, a reader cannot discover the backend-specific field path from the task guides. The other target pages that mentionURLRewriteuse rule-level filters or example output that remains accurate.What changed on disk
assets/agw-docs/pages/traffic-management/rewrite/host.md: Added a main-only Kubernetes section that showsspec.rules.backendRefs.filters.urlRewrite.hostname.assets/agw-docs/pages/traffic-management/rewrite/path.md: Added a main-only Kubernetes section that showsspec.rules.backendRefs.filters.urlRewrite.path.How to verify this change
type: URLRewriteunderspec.rules[0].backendRefs[0].filters.kubectl get httproute backend-path-rewrite -n httpbin -o jsonpath="{.status.parents[0].conditions[?(@.type=='Accepted')].status}"and expectTrue./headerson the route hostname and expect the upstream response URL to contain/anything.Proposed release note
No proposed release note: the planner listed both standalone/main and kubernetes/main, but the diff and documentation change are Kubernetes-only. A generated note from this item would be placed on the standalone release notes too.
What was not verified
The configuration was not applied to a cluster.
The new HTTPRoute examples are unrun.
How the pages were chosen (triage report)
Draft a documentation change
agentgateway/agentgateway#3755 — gateway api: support new backend url rewrite filter
agentgateway/websiteapi/resource.pb.gocrates/agentgateway/src/proxy/httpproxy.rsDraft branch:
pr-tracker-draft-agentgateway-3755