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 |       path: spec.template.spec.containers[0].securityContext | ||||||
|   - notExists: |   - notExists: | ||||||
|       path: spec.template.spec.nodeSelector |       path: spec.template.spec.nodeSelector | ||||||
|  |   - notExists: | ||||||
|  |       path: spec.template.spec.priorityClassName | ||||||
|  |  | ||||||
| - it: Test additional arguments | - it: Test additional arguments | ||||||
|   set: |   set: | ||||||
| @@ -210,6 +212,14 @@ tests: | |||||||
|       value: |       value: | ||||||
|         foo: bar |         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 | - it: Test additional volumeMounts and volumes | ||||||
|   set: |   set: | ||||||
|     deployment.postgresExporter.volumeMounts: |     deployment.postgresExporter.volumeMounts: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user