test(deployment): terminationGracePeriodSeconds
This commit is contained in:
parent
2dd99e8b13
commit
a01c7d8c45
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user