forked from kgateway-dev/kgateway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kgateway-dev#10359 from solo-io/remove-hardcoded-n…
…amespace-in-tracing-test-v1.17.x Remove hardcoded namespace in tracing test v1.17.x
- Loading branch information
Showing
7 changed files
with
112 additions
and
58 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
changelog/v1.17.17/remove-hardcoded-namespace-in-tracing-test-v1.17.x.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,11 @@ | ||
changelog: | ||
- type: NON_USER_FACING | ||
description: >- | ||
Fix failing unit tests in `test/kubernetes/testutils/helper/util_test.go` | ||
and `test/kubernetes/testutils/helper/util_test.go` | ||
- type: NON_USER_FACING | ||
issueLink: https://github.com/solo-io/solo-projects/issues/7223 | ||
resolvesIssue: false | ||
description: >- | ||
Remove hard-coded namespaces from the tracing tests. This issue is | ||
causing tests to pass in OSS gloo, but fail in solo-projects. |
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
42 changes: 42 additions & 0 deletions
42
test/kubernetes/e2e/features/tracing/testdata/gateway.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,42 @@ | ||
# 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 | ||
name: gateway-proxy-tracing | ||
spec: | ||
bindAddress: '::' | ||
bindPort: 18080 | ||
proxyNames: | ||
- gateway-proxy | ||
httpGateway: | ||
virtualServiceSelector: | ||
gateway-type: tracing | ||
options: | ||
httpConnectionManagerSettings: | ||
tracing: | ||
openTelemetryConfig: | ||
collectorUpstreamRef: | ||
name: opentelemetry-collector | ||
namespace: default | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: gateway-proxy-tracing | ||
labels: | ||
app.kubernetes.io/name: gateway-proxy-tracing-service | ||
spec: | ||
ports: | ||
- name: gateway-proxy-tracing | ||
port: 18080 | ||
protocol: TCP | ||
targetPort: 18080 | ||
selector: | ||
gateway-proxy: live | ||
gateway-proxy-id: gateway-proxy | ||
|
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
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