mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-22 07:50:19 +00:00
Create ingress.yaml
This commit is contained in:
parent
ddb9d56091
commit
2517d5fd04
1 changed files with 19 additions and 0 deletions
|
@ -0,0 +1,19 @@
|
|||
apiVersion: traefik.containo.us/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: traefik-dashboard
|
||||
namespace: traefik
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: traefik-external
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure # make sure this matches your entrypoint
|
||||
routes:
|
||||
- match: Host(`traefik.your-domain.co.uk`)
|
||||
kind: Rule
|
||||
middlewares:
|
||||
- name: traefik-dashboard-basicauth
|
||||
namespace: traefik
|
||||
services:
|
||||
- name: api@internal
|
||||
kind: TraefikService
|
Loading…
Reference in a new issue