test(deployment): terminationGracePeriodSeconds

This commit is contained in:
Markus Pesch 2024-11-26 19:50:08 +01:00
parent 2dd99e8b13
commit a01c7d8c45
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -83,6 +83,9 @@ tests:
path: spec.template.spec.restartPolicy
- notExists:
path: spec.template.spec.subdomain
- equal:
path: spec.template.spec.terminationGracePeriodSeconds
value: 60
- it: Test additional arguments
set:
@ -293,6 +296,14 @@ tests:
path: spec.template.spec.restartPolicy
value: Always
- it: Test terminationGracePeriodSeconds
set:
deployment.terminationGracePeriodSeconds: 120
asserts:
- equal:
path: spec.template.spec.terminationGracePeriodSeconds
value: 120
- it: Test additional volumeMounts and volumes
set:
deployment.postgresExporter.volumeMounts: