Skip to content

Commit a56a188

Browse files
authored
fix e2e tests: gateway tls listeners must specify tls (#10659)
1 parent 6043e64 commit a56a188

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
changelog:
2+
- type: NON_USER_FACING
3+
description: >-
4+
"fix e2e tls route tests that were failing on nightlies using GW API v1.0.0"

test/kubernetes/e2e/features/services/tlsroute/testdata/cross-ns-gateway-and-client.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ spec:
99
port: 8443
1010
protocol: TLS
1111
hostname: "example.com"
12+
tls:
13+
mode: Passthrough
1214
---
1315
apiVersion: v1
1416
kind: Pod

test/kubernetes/e2e/features/services/tlsroute/testdata/cross-ns-no-refgrant-gateway-and-client.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ spec:
99
port: 8443
1010
protocol: TLS
1111
hostname: "example.com"
12+
tls:
13+
mode: Passthrough
1214
---
1315
apiVersion: v1
1416
kind: Pod

test/kubernetes/e2e/features/services/tlsroute/testdata/multi-listener-gateway-and-client.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
spec:
66
gatewayClassName: gloo-gateway
77
listeners:
8-
- name: listener-6443 # do one listener with multiple hostnames?
8+
- name: listener-6443
99
protocol: TLS
1010
port: 6443
1111
hostname: "example.com"
@@ -17,6 +17,9 @@ spec:
1717
- name: listener-8443
1818
protocol: TLS
1919
port: 8443
20+
hostname: "example.com"
21+
tls:
22+
mode: Passthrough
2023
allowedRoutes:
2124
kinds:
2225
- kind: TLSRoute

0 commit comments

Comments
 (0)