You've already forked prometheus-postgres-exporter
							
							fix(deployment): use correct webconfig filename
This commit is contained in:
		| @@ -24,7 +24,7 @@ spec: | ||||
|       - name: postgres-exporter | ||||
|         args: | ||||
|         - "--config.file=/etc/prometheus-postgres-exporter/config.d/exporterConfig.yaml" | ||||
|         - "--web.config.file=/etc/prometheus-postgres-exporter/config.d/web-config.yaml" | ||||
|         - "--web.config.file=/etc/prometheus-postgres-exporter/config.d/webConfig.yaml" | ||||
|         - "--web.listen-address=:9187" | ||||
|         {{- range .Values.deployment.postgresExporter.args }} | ||||
|         - {{ . | quote }} | ||||
|   | ||||
| @@ -36,7 +36,7 @@ tests: | ||||
|       path: spec.template.spec.containers[0].args | ||||
|       value: | ||||
|       - --config.file=/etc/prometheus-postgres-exporter/config.d/exporterConfig.yaml | ||||
|       - --web.config.file=/etc/prometheus-postgres-exporter/config.d/web-config.yaml | ||||
|       - --web.config.file=/etc/prometheus-postgres-exporter/config.d/webConfig.yaml | ||||
|       - --web.listen-address=:9187 | ||||
|   - equal: | ||||
|       path: spec.template.spec.containers[0].volumeMounts | ||||
| @@ -101,7 +101,7 @@ tests: | ||||
|       path: spec.template.spec.containers[0].args | ||||
|       value: | ||||
|       - --config.file=/etc/prometheus-postgres-exporter/config.d/exporterConfig.yaml | ||||
|       - --web.config.file=/etc/prometheus-postgres-exporter/config.d/web-config.yaml | ||||
|       - --web.config.file=/etc/prometheus-postgres-exporter/config.d/webConfig.yaml | ||||
|       - --web.listen-address=:9187 | ||||
|       - --foo=bar | ||||
|       - --bar=foo | ||||
|   | ||||
		Reference in New Issue
	
	Block a user