mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-21 23:40:19 +00:00
Create ingress.yaml
This commit is contained in:
parent
1a08035f24
commit
d99cde953d
1 changed files with 26 additions and 0 deletions
26
Kubernetes/Traefik-PiHole/Manifest/PiHole/ingress.yaml
Normal file
26
Kubernetes/Traefik-PiHole/Manifest/PiHole/ingress.yaml
Normal file
|
@ -0,0 +1,26 @@
|
|||
---
|
||||
apiVersion: traefik.containo.us/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
|
Loading…
Reference in a new issue