You've already forked prometheus-postgres-exporter
							
							test(deployment): terminationGracePeriodSeconds
This commit is contained in:
		| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user