Add Pihole Helm values configuration for deployment
This commit is contained in:
parent
caff826162
commit
5c1cf1d980
69
values/pihole.yml
Normal file
69
values/pihole.yml
Normal file
@ -0,0 +1,69 @@
|
||||
# Pihole Helm values
|
||||
# Chart: mojo2600/pihole
|
||||
# Deploy:
|
||||
# helm repo add mojo2600 https://mojo2600.github.io/pihole-kubernetes/
|
||||
# helm repo update
|
||||
# helm upgrade --install pihole mojo2600/pihole \
|
||||
# --namespace pihole --create-namespace \
|
||||
# -f values/pihole.yml
|
||||
|
||||
replicaCount: 1
|
||||
|
||||
image:
|
||||
tag: "2024.07.0"
|
||||
|
||||
serviceDns:
|
||||
type: LoadBalancer
|
||||
port: 53
|
||||
|
||||
serviceWeb:
|
||||
type: ClusterIP
|
||||
http:
|
||||
enabled: true
|
||||
port: 80
|
||||
|
||||
ingress:
|
||||
enabled: true
|
||||
ingressClassName: traefik
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
hosts:
|
||||
- pihole.home.arpa
|
||||
path: /admin
|
||||
|
||||
adminPassword: password
|
||||
|
||||
probes:
|
||||
liveness:
|
||||
enabled: false
|
||||
readiness:
|
||||
enabled: false
|
||||
|
||||
persistentVolumeClaim:
|
||||
enabled: true
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
size: 1Gi
|
||||
annotations:
|
||||
helm.sh/resource-policy: keep
|
||||
|
||||
affinity:
|
||||
nodeAffinity:
|
||||
requiredDuringSchedulingIgnoredDuringExecution:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: node-role
|
||||
operator: In
|
||||
values:
|
||||
- primary
|
||||
|
||||
extraEnvVars:
|
||||
PIHOLE_DNS_1: "8.8.8.8"
|
||||
PIHOLE_DNS_2: "8.8.4.4"
|
||||
|
||||
dnsmasq:
|
||||
customDnsEntries:
|
||||
- address=/gitea.home.arpa/192.168.7.77
|
||||
- address=/pihole.home.arpa/192.168.7.77
|
||||
- address=/home.arpa/192.168.7.77
|
||||
Loading…
x
Reference in New Issue
Block a user