|
suite: Test Service
|
|
templates:
|
|
- service.yaml
|
|
|
|
tests:
|
|
- it: should set webhook default port values
|
|
asserts:
|
|
- equal:
|
|
path: spec.ports[0].targetPort
|
|
value: 9443
|
|
|
|
- it: should set updated target port
|
|
set:
|
|
port: 2319
|
|
asserts:
|
|
- equal:
|
|
path: spec.ports[0].targetPort
|
|
value: 2319
|