mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-21 23:40:19 +00:00
26 lines
623 B
YAML
26 lines
623 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(`www.pihole3.jimsgarage.co.uk`) # change to your domain
|
|
kind: Rule
|
|
services:
|
|
- name: pihole
|
|
port: 80
|
|
- match: Host(`pihole3.jimsgarage.co.uk`) # change to your domain
|
|
kind: Rule
|
|
services:
|
|
- name: pihole
|
|
port: 80
|
|
middlewares:
|
|
- name: default-headers
|
|
tls:
|
|
secretName: jimsgarage-tls # change to your cert name
|