diff options
Diffstat (limited to 'kubernetes/pihole/pihole-deployment.yaml')
-rw-r--r-- | kubernetes/pihole/pihole-deployment.yaml | 28 |
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 |