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