From bf9bd4853fbf5ebd77b77925d11837b03046403a Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 26 Nov 2024 20:24:58 +0100 Subject: [PATCH] fix(deployment): use correct webconfig filename --- templates/prometheus-postgres-exporter/deployment.yaml | 2 +- unittests/deployment/deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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