updated traefik dashboard routes

This commit is contained in:
Steffen Illium 2024-04-06 17:40:34 +02:00
parent 19e637021d
commit 40f3727cb9
2 changed files with 24 additions and 2 deletions

View File

@ -7,6 +7,10 @@ spec:
type: NodePort
ports:
- name: traefik
port: 9000
protocol: TCP
targetPort: traefik
- name: web
port: 80
protocol: TCP

View File

@ -3,7 +3,7 @@ kind: IngressRoute
metadata:
labels:
local: "true"
name: traefik-dashboard
name: traefik-dashboard-local
namespace: traefik
spec:
entryPoints:
@ -11,7 +11,25 @@ spec:
- web
routes:
- kind: Rule
match: Host(`tr.steffenillium.de`)
match: Host(`tr-local.steffenillium.de`)
services:
- kind: TraefikService
name: api@internal
---
apiVersion: traefik.io/v1alpha1
kind: IngressRoute
metadata:
labels:
local: "true"
name: traefik-dashboard-front
namespace: traefik
spec:
entryPoints:
- websecure
- web
routes:
- kind: Rule
match: Host(`tr-front.steffenillium.de`)
services:
- name: front-traefik
port: 9000