test(deployment): priorityClassName

This commit is contained in:
Markus Pesch 2024-11-26 19:34:48 +01:00
parent 8f36f688d0
commit 967d36cafb
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -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: