Skip to content

Commit f73cc0e

Browse files
committed
assert full spec in basic test
1 parent 56f928f commit f73cc0e

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

charts/gateway/tests/gateway_test.yaml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,19 @@ tests:
2626
path: metadata.annotations
2727
count: 0
2828
- equal:
29-
path: spec.gatewayClassName
30-
value: "gke-l7-rilb"
31-
- equal:
32-
path: spec.listeners
29+
path: spec
3330
value:
34-
- name: "https-simple.example.com"
35-
hostname: "simple.example.com"
36-
port: 443
37-
protocol: HTTPS
38-
tls:
39-
mode: Terminate
40-
allowedRoutes:
41-
namespaces:
42-
from: All
31+
gatewayClassName: "gke-l7-rilb"
32+
listeners:
33+
- name: "https-simple.example.com"
34+
hostname: "simple.example.com"
35+
port: 443
36+
protocol: HTTPS
37+
tls:
38+
mode: Terminate
39+
allowedRoutes:
40+
namespaces:
41+
from: All
4342
- notFailedTemplate: {}
4443

4544
- it: should use v1 api version if available

0 commit comments

Comments
 (0)