prometheus-fail2ban-exporte.../templates/prometheus-fail2ban-exporter/secrets.yaml
Markus Pesch 45ed6d61c1
Some checks failed
continuous-integration/drone/push Build is failing
fix: move templates into chart dir
2025-01-04 22:31:00 +01:00

16 lines
348 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: {{ include "prometheus-fail2ban-exporter.fullname" . }}
type: Opaque
stringData:
{{- if not (hasKey .Values "config") -}}
{{- $_ := set .Values "config" dict -}}
{{- end -}}
{{/* SETUP CONFIG */}}
{{ range $key, $value := .Values.config }}
{{ upper $key}}: {{ quote $value }}
{{ end }}