You've already forked prometheus-postgres-exporter
							
							test(deployment): dnsPolicy
This commit is contained in:
		| @@ -66,6 +66,8 @@ tests: | ||||
|       path: spec.template.spec.containers[0].securityContext | ||||
|   - notExists: | ||||
|       path: spec.template.spec.dnsConfig | ||||
|   - notExists: | ||||
|       path: spec.template.spec.dnsPolicy | ||||
|   - notExists: | ||||
|       path: spec.template.spec.nodeSelector | ||||
|   - notExists: | ||||
| @@ -218,6 +220,14 @@ tests: | ||||
|         - "8.8.8.8" | ||||
|         - "8.8.4.4" | ||||
|  | ||||
| - it: Test dnsPolicy | ||||
|   set: | ||||
|     deployment.dnsPolicy: ClusterFirst | ||||
|   asserts: | ||||
|   - equal: | ||||
|       path: spec.template.spec.dnsPolicy | ||||
|       value: ClusterFirst | ||||
|  | ||||
| - it: Test nodeSelector | ||||
|   set: | ||||
|     deployment.nodeSelector: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user