mirror of
https://github.com/michaelthomson0797/fleet-infra.git
synced 2026-02-04 21:09:58 +00:00
pihole ingress
This commit is contained in:
12
pihole/dns-endpoint.yaml
Normal file
12
pihole/dns-endpoint.yaml
Normal 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
|
||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user