You've already forked prometheus-postgres-exporter
							
							test(deployment): topologySpreadConstraints
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -88,6 +88,8 @@ tests: | |||||||
|       value: 60 |       value: 60 | ||||||
|   - notExists: |   - notExists: | ||||||
|       path: spec.template.spec.tolerations |       path: spec.template.spec.tolerations | ||||||
|  |   - notExists: | ||||||
|  |       path: spec.template.spec.topologySpreadConstraints | ||||||
|  |  | ||||||
| - it: Test additional arguments | - it: Test additional arguments | ||||||
|   set: |   set: | ||||||
| @@ -322,6 +324,24 @@ tests: | |||||||
|         value: postgres |         value: postgres | ||||||
|         effect: NoSchedule |         effect: NoSchedule | ||||||
|  |  | ||||||
|  | - it: Test topologySpreadConstraints | ||||||
|  |   set: | ||||||
|  |     deployment.topologySpreadConstraints: | ||||||
|  |     - topologyKey: kubernetes.io/hostname | ||||||
|  |       whenUnsatisfiable: DoNotSchedule | ||||||
|  |       labelSelector: | ||||||
|  |         matchLabels: | ||||||
|  |           app.kubernetes.io/instance: prometheus-postgres-exporter | ||||||
|  |   asserts: | ||||||
|  |   - equal: | ||||||
|  |       path: spec.template.spec.topologySpreadConstraints | ||||||
|  |       value: | ||||||
|  |       - topologyKey: kubernetes.io/hostname | ||||||
|  |         whenUnsatisfiable: DoNotSchedule | ||||||
|  |         labelSelector: | ||||||
|  |           matchLabels: | ||||||
|  |             app.kubernetes.io/instance: prometheus-postgres-exporter | ||||||
|  |  | ||||||
| - 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