diff --git a/unittests/deployment/deployment.yaml b/unittests/deployment/deployment.yaml index 606fa9d..6e9ab7f 100644 --- a/unittests/deployment/deployment.yaml +++ b/unittests/deployment/deployment.yaml @@ -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: