test(deployment): priorityClassName
This commit is contained in:
parent
8f36f688d0
commit
967d36cafb
@ -66,6 +66,8 @@ tests:
|
||||
path: spec.template.spec.containers[0].securityContext
|
||||
- notExists:
|
||||
path: spec.template.spec.nodeSelector
|
||||
- notExists:
|
||||
path: spec.template.spec.priorityClassName
|
||||
|
||||
- it: Test additional arguments
|
||||
set:
|
||||
@ -210,6 +212,14 @@ tests:
|
||||
value:
|
||||
foo: bar
|
||||
|
||||
- it: Test priorityClassName
|
||||
set:
|
||||
deployment.priorityClassName: my-priority
|
||||
asserts:
|
||||
- equal:
|
||||
path: spec.template.spec.priorityClassName
|
||||
value: my-priority
|
||||
|
||||
- it: Test additional volumeMounts and volumes
|
||||
set:
|
||||
deployment.postgresExporter.volumeMounts:
|
||||
|
Loading…
Reference in New Issue
Block a user