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