forked from kgateway-dev/kgateway
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
79 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
changelog: | ||
- type: NEW_FEATURE | ||
description: | | ||
Add support for setting the authority field on gRPC requests made to OTEL Collectors during tracing. | ||
When the authority field is set, the gRPC client will use the specified value as the :authority header | ||
when making requests to the collector. This is useful when the collector is behind a reverse proxy that | ||
requires a specific authority to be set on incoming requests. | ||
issueLink: https://github.com/solo-io/solo-projects/issues/7740 | ||
resolvesIssue: true |
This file contains 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
27 changes: 27 additions & 0 deletions
27
test/kubernetes/e2e/features/tracing/testdata/gateway-authority.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Avoid using the default gateway because we don't want to destroy it when this | ||
# test is over - that will break other tests that depend on the default gateway | ||
# existing. | ||
apiVersion: gateway.solo.io/v1 | ||
kind: Gateway | ||
metadata: | ||
labels: | ||
app: gloo | ||
app.kubernetes.io/name: gateway-proxy-tracing-authority | ||
name: gateway-proxy-tracing-authority | ||
spec: | ||
bindAddress: '::' | ||
bindPort: 18082 | ||
proxyNames: | ||
- gateway-proxy | ||
httpGateway: | ||
virtualServiceSelector: | ||
gateway-type: tracing | ||
options: | ||
httpConnectionManagerSettings: | ||
tracing: | ||
openTelemetryConfig: | ||
collectorUpstreamRef: | ||
name: opentelemetry-collector | ||
namespace: default | ||
grpcService: | ||
authority: test-authority |
This file contains 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
This file contains 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