aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/pihole/pihole-deployment.yaml
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-01-07 19:35:12 +0000
committerterminaldweller <thabogre@gmail.com>2022-01-07 19:35:12 +0000
commit98578c1fd4828a508e64e5a54a844142580b0f54 (patch)
tree30bd22335b27122889ea37b344b2bd11c6ed580e /kubernetes/pihole/pihole-deployment.yaml
parentipfs fixed (diff)
downloadscripts-98578c1fd4828a508e64e5a54a844142580b0f54.tar.gz
scripts-98578c1fd4828a508e64e5a54a844142580b0f54.zip
update
Diffstat (limited to 'kubernetes/pihole/pihole-deployment.yaml')
-rw-r--r--kubernetes/pihole/pihole-deployment.yaml28
1 files changed, 18 insertions, 10 deletions
diff --git a/kubernetes/pihole/pihole-deployment.yaml b/kubernetes/pihole/pihole-deployment.yaml
index 8f48319..cd04227 100644
--- a/kubernetes/pihole/pihole-deployment.yaml
+++ b/kubernetes/pihole/pihole-deployment.yaml
@@ -23,16 +23,24 @@ spec:
- containerPort: 80
- containerPort: 443
env:
- - name: TZ
- valueFrom:
- configMapKeyRef:
- name: pihole-configmap
- key: pihole_tz
- - name: WEBPASSWORD
- valueFrom:
- secretKeyRef:
- name: pihole-secret
- key: pihole-webpassword
+ - name: TZ
+ valueFrom:
+ configMapKeyRef:
+ name: pihole-configmap
+ key: pihole_tz
+ - name: WEBPASSWORD
+ valueFrom:
+ secretKeyRef:
+ name: pihole-secret
+ key: pihole-webpassword
+ volumeMounts:
+ - name: local-dns
+ mountPath: /etc/dnsmasq.d/10-customdns.conf
+ readOnly: true
+ volumes:
+ - name: local-dns
+ configMap:
+ name: local-dns-file
---
apiVersion: v1
kind: Service