Repository navigation
Add gRPC-Web conversion guide - #1192
Open
kristin-kronstain-brown wants to merge 1 commit into
Open
kristin-kronstain-brown wants to merge 1 commit into
kristin-kronstain-brown wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Kristin Brown <kristin.brown@solo.io>
Deploying kgateway-io with
|
| Latest commit: |
4d4bc63
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2724b542.kgateway-io.pages.dev |
| Branch Preview URL: | https://kkb-triage-5452-grpc-web.kgateway-io.pages.dev |
kristin-kronstain-brown
marked this pull request as ready for review
December 2, 2026 14:44
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.
Description
Add a guide for the new
grpcWebfield on TrafficPolicy. The field converts gRPC-Web requests from browser clients to gRPC for backends that speak only gRPC. SetgrpcWeb: {disable: {}}to turn off conversion for routes that inherit the setting from a broader policy.Changes
assets/kgw-docs/pages/traffic-management/grpc-web.mdwith a stub atcontent/docs/envoy/main/traffic-management/grpc-web.md. The guide covers enabling conversion on a route, turning off conversion for one route under a Gateway-level policy, and the CORS headers that browser clients need.assets/kgw-docs/pages/traffic-management/grpc.mdgets one sentence that links to the new guide. A version gate hides the sentence in the 2.1.x to 2.5.x trees.The guide is in the
maintree only. The feature is not in a release yet.Testing
I did not run the guide end to end on a cluster. The steps follow the e2e suite in the code PR (
test/e2e/features/grpcweb). The example outputs show only the values that the e2e suite checks:200with acontent-typethat starts withapplication/grpc-web. The body containspongandgrpc-status:0.502withreset reason: protocol error.The
...lines stand in for headers that the e2e suite does not check. The+protosuffix on the examplecontent-typeis my best guess from the request content type.🤖 Generated with Claude Code