You've already forked prometheus-postgres-exporter
							
							test(deployment): nodeSelector
This commit is contained in:
		| @@ -64,6 +64,8 @@ tests: | ||||
|       path: spec.template.spec.containers[0].resources | ||||
|   - notExists: | ||||
|       path: spec.template.spec.containers[0].securityContext | ||||
|   - notExists: | ||||
|       path: spec.template.spec.nodeSelector | ||||
|  | ||||
| - it: Test additional arguments | ||||
|   set: | ||||
| @@ -198,6 +200,16 @@ tests: | ||||
|         runAsNonRoot: true | ||||
|         runAsUser: 1000 | ||||
|  | ||||
| - it: Test nodeSelector | ||||
|   set: | ||||
|     deployment.nodeSelector: | ||||
|       foo: bar | ||||
|   asserts: | ||||
|   - equal: | ||||
|       path: spec.template.spec.nodeSelector | ||||
|       value: | ||||
|         foo: bar | ||||
|  | ||||
| - it: Test additional volumeMounts and volumes | ||||
|   set: | ||||
|     deployment.postgresExporter.volumeMounts: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user