feat(k8s/pihole): add Pi-hole stack (deployment scaled to 0 for data migration)

This commit is contained in:
2026-03-01 12:48:23 +02:00
parent 92d8546c10
commit cbc34c699d
10 changed files with 252 additions and 2 deletions

View File

@@ -0,0 +1,24 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: pihole
namespace: pihole
annotations:
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/router.middlewares: authelia-chain-authelia-authelia-auth@kubernetescrd
spec:
tls:
- hosts:
- ${PIHOLE_HOST}
secretName: pihole-tls
rules:
- host: ${PIHOLE_HOST}
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: pihole
port:
number: 80