Commit 8ed65be
[gateway] set authority header on xDS gRPC bootstrap config
Envoy defaults the :authority header to the cluster name ("xds_cluster")
on gRPC requests. Contour routes by virtual host FQDN, so it returns
HTTP 421 Misdirected Request. Set authority to the xDS server address
so the header matches the expected virtual host.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7eab064 commit 8ed65be
File tree
3 files changed
+3
-0
lines changed- pkg/gateway/xds/bootstrap
- testdata/render
3 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
0 commit comments