refac(templates): remove parent dir 'prometheus-postgres-exporter'
All checks were successful
Helm / helm-lint (push) Successful in 12s
Helm / helm-unittest (push) Successful in 17s

This commit is contained in:
2025-07-23 21:24:27 +02:00
parent c4b9990c2d
commit 3c8a92fb04
35 changed files with 75 additions and 75 deletions

View File

@ -0,0 +1,20 @@
{{- if not (.Values.config.database.existingSecret.enabled) }}
---
apiVersion: v1
kind: Secret
metadata:
{{- with (include "prometheus-postgres-exporter.secrets.database.annotations" . | fromYaml) }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with (include "prometheus-postgres-exporter.secrets.database.labels" . | fromYaml) }}
labels:
{{- toYaml . | nindent 4 }}
{{- end }}
name: {{ include "prometheus-postgres-exporter.fullname" . }}-database-env
namespace: {{ .Release.Namespace }}
stringData:
DATA_SOURCE_URI: {{ required "No `databaseConnectionUrl` defined!" .Values.config.database.secret.databaseConnectionUrl }}
DATA_SOURCE_USER: {{ required "No `databaseUsername` defined!" .Values.config.database.secret.databaseUsername }}
DATA_SOURCE_PASS: {{ required "No `databasePassword` defined!" .Values.config.database.secret.databasePassword }}
{{- end }}