maabara/manifests/pihole/templates/configmap-regex.yaml

17 lines
362 B
YAML
Raw Normal View History

2024-11-18 18:22:12 +00:00
{{ if .Values.regex }}
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "pihole.fullname" . }}-regex
labels:
app: {{ template "pihole.name" . }}
chart: {{ template "pihole.chart" . }}
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
data:
regex.list: |
{{- range .Values.regex }}
{{ . }}
{{- end }}
{{ end }}