mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2025-08-14 09:22:21 +00:00
Create ingress.yaml
This commit is contained in:
parent
d90695d60d
commit
9a7f580cf0
@ -0,0 +1,21 @@
|
||||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: traefik-dashboard
|
||||
namespace: traefik
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: traefik-external
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`traefik2.jimsgarage.co.uk`) # change this to your domain
|
||||
kind: Rule
|
||||
middlewares:
|
||||
- name: traefik-dashboard-basicauth
|
||||
namespace: traefik
|
||||
services:
|
||||
- name: api@internal
|
||||
kind: TraefikService
|
||||
tls:
|
||||
secretName: jimsgarage-tls # change this to your secret!!!
|
Loading…
x
Reference in New Issue
Block a user