17 lines
377 B
YAML
17 lines
377 B
YAML
|
{{ if .Values.whitelist }}
|
||
|
apiVersion: v1
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
name: {{ template "pihole.fullname" . }}-whitelist
|
||
|
labels:
|
||
|
app: {{ template "pihole.name" . }}
|
||
|
chart: {{ template "pihole.chart" . }}
|
||
|
release: {{ .Release.Name }}
|
||
|
heritage: {{ .Release.Service }}
|
||
|
data:
|
||
|
whitelist.txt: |
|
||
|
{{- range .Values.whitelist }}
|
||
|
{{ . }}
|
||
|
{{- end }}
|
||
|
{{ end }}
|