2021-09-04 15:42:55 +00:00
|
|
|
image:
|
2023-11-17 10:22:57 +00:00
|
|
|
repository: pihole/pihole
|
2021-09-04 15:42:55 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2024-04-01 00:33:36 +00:00
|
|
|
tag: 2024.03.2@sha256:e01b4ad0f953f0b1f53148632aa233579837861022e8784a504c14ea066ceab1
|
2023-05-28 20:16:45 +00:00
|
|
|
pihole:
|
2023-12-25 20:32:47 +00:00
|
|
|
webPassword: somepassword"
|
2023-05-28 20:16:45 +00:00
|
|
|
dnsServers:
|
|
|
|
- "9.9.9.9"
|
|
|
|
- "149.112.112.112"
|
2021-09-26 18:05:21 +00:00
|
|
|
securityContext:
|
2023-05-28 08:27:15 +00:00
|
|
|
container:
|
|
|
|
readOnlyRootFilesystem: false
|
|
|
|
runAsNonRoot: false
|
2023-05-30 16:36:53 +00:00
|
|
|
allowPrivilegeEscalation: true
|
2023-05-28 08:27:15 +00:00
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
capabilities:
|
|
|
|
add:
|
|
|
|
- NET_ADMIN
|
|
|
|
- SETFCAP
|
|
|
|
- SETPCAP
|
|
|
|
- KILL
|
|
|
|
workload:
|
|
|
|
main:
|
|
|
|
podSpec:
|
|
|
|
containers:
|
|
|
|
main:
|
2023-05-28 20:16:45 +00:00
|
|
|
envFrom:
|
|
|
|
- configMapRef:
|
|
|
|
name: pihole-env
|
2023-05-28 08:27:15 +00:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
type: http
|
|
|
|
path: /admin/index.php
|
|
|
|
readiness:
|
|
|
|
type: http
|
|
|
|
path: /admin/index.php
|
|
|
|
startup:
|
|
|
|
type: http
|
|
|
|
path: /admin/index.php
|
2021-09-04 15:42:55 +00:00
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
2021-11-19 20:06:31 +00:00
|
|
|
port: 9089
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 80
|
2022-07-10 09:21:55 +00:00
|
|
|
dns:
|
|
|
|
enabled: true
|
|
|
|
ports:
|
|
|
|
dns:
|
2021-09-04 15:42:55 +00:00
|
|
|
enabled: true
|
2023-05-28 08:27:15 +00:00
|
|
|
protocol: udp
|
2021-09-04 15:42:55 +00:00
|
|
|
port: 53
|
2021-11-06 21:55:18 +00:00
|
|
|
targetPort: 53
|
2024-03-06 16:50:55 +00:00
|
|
|
dns-tcp:
|
|
|
|
enabled: true
|
2024-03-08 09:54:44 +00:00
|
|
|
protocol: tcp
|
2024-03-06 16:50:55 +00:00
|
|
|
port: "{{ .Values.service.dns.ports.dns.port }}"
|
2024-03-08 09:54:44 +00:00
|
|
|
targetPort: 53
|
2021-09-04 15:42:55 +00:00
|
|
|
persistence:
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/etc/pihole"
|
2021-09-05 07:19:55 +00:00
|
|
|
dnsmasq:
|
|
|
|
enabled: true
|
|
|
|
mountPath: "/etc/dnsmasq.d"
|
2022-08-08 21:25:02 +00:00
|
|
|
portal:
|
2023-05-28 08:27:15 +00:00
|
|
|
open:
|
|
|
|
enabled: true
|