You've already forked prometheus-postgres-exporter
							
							fix(deployment): number of replicas
This commit is contained in:
		| @@ -27,6 +27,9 @@ tests: | ||||
|         app.kubernetes.io/name: prometheus-postgres-exporter | ||||
|         app.kubernetes.io/version: 0.1.0 | ||||
|         helm.sh/chart: prometheus-postgres-exporter-0.1.0 | ||||
|   - equal: | ||||
|       path: spec.replicas | ||||
|       value: 1 | ||||
|   - contains: | ||||
|       path: spec.template.spec.containers[0].envFrom | ||||
|       content: | ||||
| @@ -91,6 +94,14 @@ tests: | ||||
|   - notExists: | ||||
|       path: spec.template.spec.topologySpreadConstraints | ||||
|  | ||||
| - it: Test custom replicas | ||||
|   set: | ||||
|     deployment.replicas: 3 | ||||
|   asserts: | ||||
|   - equal: | ||||
|       path: spec.replicas | ||||
|       value: 3 | ||||
|  | ||||
| - it: Test additional arguments | ||||
|   set: | ||||
|     deployment.postgresExporter.args: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user