infra/k8s/system/traefik-dashboard.yaml

16 lines
401 B
YAML
Raw Normal View History

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: traefik-dashboard
namespace: kube-system
spec:
routes:
2024-08-12 22:35:11 +00:00
- match: Host(`traefik.k8s.home.finn.io`) # && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))
kind: Rule
services:
- name: api@internal
kind: TraefikService
2024-08-12 22:35:11 +00:00
middlewares:
- name: traefik-forward-auth
# namespace: kube-system