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 |       - name: postgres-exporter | ||||||
|         args: |         args: | ||||||
|         - "--config.file=/etc/prometheus-postgres-exporter/config.d/exporterConfig.yaml" |         - "--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" |         - "--web.listen-address=:9187" | ||||||
|         {{- range .Values.deployment.postgresExporter.args }} |         {{- range .Values.deployment.postgresExporter.args }} | ||||||
|         - {{ . | quote }} |         - {{ . | quote }} | ||||||
|   | |||||||
| @@ -36,7 +36,7 @@ tests: | |||||||
|       path: spec.template.spec.containers[0].args |       path: spec.template.spec.containers[0].args | ||||||
|       value: |       value: | ||||||
|       - --config.file=/etc/prometheus-postgres-exporter/config.d/exporterConfig.yaml |       - --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 |       - --web.listen-address=:9187 | ||||||
|   - equal: |   - equal: | ||||||
|       path: spec.template.spec.containers[0].volumeMounts |       path: spec.template.spec.containers[0].volumeMounts | ||||||
| @@ -101,7 +101,7 @@ tests: | |||||||
|       path: spec.template.spec.containers[0].args |       path: spec.template.spec.containers[0].args | ||||||
|       value: |       value: | ||||||
|       - --config.file=/etc/prometheus-postgres-exporter/config.d/exporterConfig.yaml |       - --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 |       - --web.listen-address=:9187 | ||||||
|       - --foo=bar |       - --foo=bar | ||||||
|       - --bar=foo |       - --bar=foo | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user