1 parent f8bf5a3 commit 066e539Copy full SHA for 066e539
1 file changed
charts/external-dns/tests/service_test.yaml
@@ -0,0 +1,26 @@
1
+suite: Service configuration
2
+templates:
3
+ - service.yaml
4
+release:
5
+ namespace: default
6
+tests:
7
+ - it: should provide a single service by default
8
+ asserts:
9
+ - isKind:
10
+ of: Service
11
+ - hasDocuments:
12
+ count: 1
13
+ - equal:
14
+ path: spec.type
15
+ value: ClusterIP
16
17
+ path: spec.ports[0].port
18
+ value: 7979
19
+
20
+ - it: should provide a way to disable the service
21
+ set:
22
+ service:
23
+ enabled: false
24
25
26
+ count: 0
0 commit comments