Skip to content

Instantly share code, notes, and snippets.

@sirkirby
Last active October 31, 2023 19:02
Show Gist options
  • Save sirkirby/2cdef0ce5cd0d2a68c6db82295661dab to your computer and use it in GitHub Desktop.
Save sirkirby/2cdef0ce5cd0d2a68c6db82295661dab to your computer and use it in GitHub Desktop.
pi-hole helm values
# will create kubernees ingress
ingress:
enabled: true
hosts:
- pihole-k3s.mylocaldomain.org
# will create kubernetes services for web admin
serviceWeb:
loadBalancerIP: 192.168.1.100
type: ClusterIP
# will set your admin password for the web inteface
adminPassword: "my!admin3password"
# create a kubernetes service and expose
# port 53 outside of cluster on the local network
serviceDns:
loadBalancerIP: 192.168.1.100
type: LoadBalancer
# enables cloudflare tunnel sidecar container
# and sets upstream dns in pihole to leverage it
doh:
enabled: true
pullPolicy: Always
envVars: {
DOH_UPSTREAM: "https://1.1.1.1/dns-query"
}
# pi-hole will automatially create a new
# persistent volume managed by longhorn
# persistentVolumeClaim:
# enabled: true
# storageClass: "longhorn"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment