feat(k8s/pihole): fully stateless setup with ConfigMap-driven config and adlists

This commit is contained in:
2026-03-22 15:26:13 +02:00
parent 8df7e38744
commit e828d6dd37
7 changed files with 92 additions and 76 deletions

View 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