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-07-24 14:30:15 +00:00
|
|
|
tag: 2024.07.0@sha256:0def896a596e8d45780b6359dbf82fc8c75ef05b97e095452e67a0a4ccc95377
|
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:
|
2024-06-16 07:58:59 +00:00
|
|
|
env:
|
|
|
|
PIHOLE_UID: "{{ .Values.securityContext.container.PUID }}"
|
|
|
|
PIHOLE_GID: "{{ .Values.securityContext.pod.fsGroup }}"
|
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
|