prometheus-fail2ban-exporte.../templates/secrets.yaml
2023-07-09 12:32:39 +02: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 }}