feat(k8s/pihole): fully stateless setup with ConfigMap-driven config and adlists
This commit is contained in:
17
kubernetes/app/pihole/configmap-pihole.yaml
Normal file
17
kubernetes/app/pihole/configmap-pihole.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: pihole-config
|
||||
namespace: pihole
|
||||
data:
|
||||
TZ: Europe/Kyiv
|
||||
FTLCONF_dns_listeningMode: all
|
||||
FTLCONF_dns_upstreams: "127.0.0.1#5353"
|
||||
FTLCONF_misc_etc_dnsmasq_d: "true"
|
||||
FTLCONF_dns_revServers: "true,10.127.0.0/16,10.127.1.1,lviv"
|
||||
FTLCONF_files_database: /data/pihole-FTL.db
|
||||
# Local DNS records (one per line: "IP HOSTNAME")
|
||||
# Uncomment and add entries as needed:
|
||||
# FTLCONF_dns_hosts: |
|
||||
# 192.168.1.1 router.lan
|
||||
# 192.168.1.2 nas.lan
|
||||
Reference in New Issue
Block a user