add some more tests

This commit is contained in:
Stavros kois
2022-11-25 18:52:03 +02:00
parent bf55d8b8de
commit be9bd0fd41

View File

@@ -250,3 +250,29 @@ tests:
some_key1: value1
some_key2: value2
some_key3: value3
# TODO: add ports etc in the below tests
- it: should pass with ClusterIP service type
documentIndex: *serviceDoc
set:
service:
main:
type: ClusterIP
asserts:
- equal:
path: spec.type
value: ClusterIP
- it: should pass with ClusterIP service type and clusterIP set
documentIndex: *serviceDoc
set:
service:
main:
type: ClusterIP
clusterIP: 172.16.0.12
asserts:
- equal:
path: spec.type
value: ClusterIP
- equal:
path: spec.clusterIP
value: 172.16.0.12