You've already forked prometheus-postgres-exporter
							
							test(deployment): imagePullSecrets
This commit is contained in:
		| @@ -73,6 +73,8 @@ tests: | ||||
|   - equal: | ||||
|       path: spec.template.spec.hostNetwork | ||||
|       value: false | ||||
|   - notExists: | ||||
|       path: spec.template.spec.imagePullSecrets | ||||
|   - notExists: | ||||
|       path: spec.template.spec.nodeSelector | ||||
|   - notExists: | ||||
| @@ -251,6 +253,18 @@ tests: | ||||
|       path: spec.template.spec.subdomain | ||||
|       value: exporters.internal | ||||
|  | ||||
| - it: Test imagePullSecrets | ||||
|   set: | ||||
|     deployment.imagePullSecrets: | ||||
|     - name: my-pull-secret | ||||
|     - name: my-special-secret | ||||
|   asserts: | ||||
|   - equal: | ||||
|       path: spec.template.spec.imagePullSecrets | ||||
|       value: | ||||
|       - name: my-pull-secret | ||||
|       - name: my-special-secret | ||||
|  | ||||
| - it: Test nodeSelector | ||||
|   set: | ||||
|     deployment.nodeSelector: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user