pihole ingress

This commit is contained in:
Michael Thomson
2023-12-14 08:57:53 -05:00
parent 3223815763
commit ef7dcebc86
2 changed files with 23 additions and 11 deletions

12
pihole/dns-endpoint.yaml Normal file
View File

@@ -0,0 +1,12 @@
apiVersion: externaldns.k8s.io/v1alpha1
kind: DNSEndpoint
metadata:
name: pihole.michaelthomson.dev
namespace: pihole
spec:
endpoints:
- dnsName: pihole.michaelthomson.dev
recordTTL: 180
recordType: CNAME
targets:
- server.michaelthomson.dev

View File

@@ -150,25 +150,25 @@ spec:
# -- Configuration for the Ingress # -- Configuration for the Ingress
ingress: ingress:
# -- Generate a Ingress resource # -- Generate a Ingress resource
enabled: false enabled: true
# -- Specify an ingressClassName # -- Specify an ingressClassName
# ingressClassName: nginx ingressClassName: traefik
# -- Annotations for the ingress # -- Annotations for the ingress
annotations: annotations:
{} traefik.ingress.kubernetes.io/router.entrypoints: websecure
# kubernetes.io/ingress.class: nginx traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
# kubernetes.io/tls-acme: "true" traefik.ingress.kubernetes.io/router.tls: "true"
path: / path: /
hosts: hosts:
# virtualHost (default value is pi.hole) will be appended to the hosts # virtualHost (default value is pi.hole) will be appended to the hosts
- chart-example.local - pihole.michaelthomson.dev
tls: [] tls:
# - secretName: chart-example-tls - hosts:
# hosts: # virtualHost (default value is pi.hole) will be appended to the hosts
# #- virtualHost (default value is pi.hole) will be appended to the hosts - pihole.michaelthomson.dev
# - chart-example.local secretName: letsencrypt-wildcard-cert-michaelthomson.dev
# -- Probes configuration # -- Probes configuration
probes: probes: