From dcc7bae921ec18e5f9e80e4485dd554f2f4e6836 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Tue, 26 Nov 2024 20:39:41 +0100 Subject: [PATCH] fix(secret): adapt of the web config secret --- templates/prometheus-postgres-exporter/secretWebConfig.yaml | 2 +- unittests/secrets/webconfig.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/prometheus-postgres-exporter/secretWebConfig.yaml b/templates/prometheus-postgres-exporter/secretWebConfig.yaml index 9236da4..e520928 100644 --- a/templates/prometheus-postgres-exporter/secretWebConfig.yaml +++ b/templates/prometheus-postgres-exporter/secretWebConfig.yaml @@ -11,7 +11,7 @@ metadata: labels: {{- toYaml . | nindent 4 }} {{- end }} - name: {{ include "prometheus-postgres-exporter.fullname" . }}-webconfig + name: {{ include "prometheus-postgres-exporter.fullname" . }}-web-config namespace: {{ .Release.Namespace }} stringData: webConfig.yaml: | diff --git a/unittests/secrets/webconfig.yaml b/unittests/secrets/webconfig.yaml index f1a40ac..b450b36 100644 --- a/unittests/secrets/webconfig.yaml +++ b/unittests/secrets/webconfig.yaml @@ -15,7 +15,7 @@ tests: - containsDocument: apiVersion: v1 kind: Secret - name: prometheus-postgres-exporter-unittest-webconfig + name: prometheus-postgres-exporter-unittest-web-config namespace: testing - notExists: path: metadata.annotations