78 lines
1.4 KiB
YAML
78 lines
1.4 KiB
YAML
|
image:
|
||
|
repository: tccr.io/truecharts/pihole
|
||
|
pullPolicy: IfNotPresent
|
||
|
tag: v2023.10.0@sha256:a122d1cc365faa58637d8486f7e4a67f6a38c7b770c130eb1d879713563392b9
|
||
|
|
||
|
pihole:
|
||
|
webPassword: "somepassword"
|
||
|
dnsServers:
|
||
|
- "9.9.9.9"
|
||
|
- "149.112.112.112"
|
||
|
|
||
|
securityContext:
|
||
|
container:
|
||
|
readOnlyRootFilesystem: false
|
||
|
runAsNonRoot: false
|
||
|
allowPrivilegeEscalation: true
|
||
|
runAsUser: 0
|
||
|
runAsGroup: 0
|
||
|
capabilities:
|
||
|
add:
|
||
|
- NET_ADMIN
|
||
|
- SETFCAP
|
||
|
- SETPCAP
|
||
|
- KILL
|
||
|
|
||
|
workload:
|
||
|
main:
|
||
|
podSpec:
|
||
|
containers:
|
||
|
main:
|
||
|
envFrom:
|
||
|
- configMapRef:
|
||
|
name: pihole-env
|
||
|
probes:
|
||
|
liveness:
|
||
|
type: http
|
||
|
path: /admin/index.php
|
||
|
readiness:
|
||
|
type: http
|
||
|
path: /admin/index.php
|
||
|
startup:
|
||
|
type: http
|
||
|
path: /admin/index.php
|
||
|
|
||
|
service:
|
||
|
main:
|
||
|
ports:
|
||
|
main:
|
||
|
port: 9089
|
||
|
targetPort: 80
|
||
|
dns-tcp:
|
||
|
enabled: true
|
||
|
ports:
|
||
|
dns-tcp:
|
||
|
enabled: true
|
||
|
port: 53
|
||
|
targetPort: 53
|
||
|
dns:
|
||
|
enabled: true
|
||
|
ports:
|
||
|
dns:
|
||
|
enabled: true
|
||
|
protocol: udp
|
||
|
port: 53
|
||
|
targetPort: 53
|
||
|
|
||
|
persistence:
|
||
|
config:
|
||
|
enabled: true
|
||
|
mountPath: "/etc/pihole"
|
||
|
dnsmasq:
|
||
|
enabled: true
|
||
|
mountPath: "/etc/dnsmasq.d"
|
||
|
|
||
|
portal:
|
||
|
open:
|
||
|
enabled: true
|