DjCoke df4f6d5616
Update ingress.yaml
Correctly call the Dashboard GUI via its newly made service
2024-09-08 17:42:15 +02:00

25 lines
495 B
YAML

---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
name: pihole
namespace: pihole
annotations:
kubernetes.io/ingress.class: traefik-external
spec:
entryPoints:
- websecure
routes:
- match: Host(`pihole.yourdomain.co.uk`)
kind: Rule
services:
- name: pihole-web
port: 80
middlewares:
- name: default-headers
- name: dashboard-redirect
- name: dashboard-prefix
tls:
secretName: yourdomain-tls