diff --git a/templates/prometheus-postgres-exporter/deployment.yaml b/templates/prometheus-postgres-exporter/deployment.yaml index b5f5e4e..7fd8f17 100644 --- a/templates/prometheus-postgres-exporter/deployment.yaml +++ b/templates/prometheus-postgres-exporter/deployment.yaml @@ -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 }} diff --git a/unittests/deployment/deployment.yaml b/unittests/deployment/deployment.yaml index d545588..887f97e 100644 --- a/unittests/deployment/deployment.yaml +++ b/unittests/deployment/deployment.yaml @@ -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