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

17 lines
370 B
YAML
Raw Normal View History

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