tweak traefik dashboard rule

This commit is contained in:
Finn 2024-09-07 21:56:15 -07:00
parent f116012a37
commit 1ce70c5010

View file

@ -5,11 +5,10 @@ metadata:
namespace: kube-system namespace: kube-system
spec: spec:
routes: routes:
- match: Host(`traefik.k8s.home.finn.io`) # && (PathPrefix(`/api`) || PathPrefix(`/dashboard`)) - match: Host(`traefik.k8s.home.finn.io`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))
kind: Rule kind: Rule
services: services:
- name: api@internal - name: api@internal
kind: TraefikService kind: TraefikService
middlewares: middlewares:
- name: traefik-forward-auth - name: traefik-forward-auth
# namespace: kube-system