From 1ce70c5010f3658db84cc19b802ef194ad4c8abd Mon Sep 17 00:00:00 2001 From: Finn Date: Sat, 7 Sep 2024 21:56:15 -0700 Subject: [PATCH] tweak traefik dashboard rule --- k8s/system/traefik-dashboard.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/k8s/system/traefik-dashboard.yaml b/k8s/system/traefik-dashboard.yaml index 218e8dd..951f331 100644 --- a/k8s/system/traefik-dashboard.yaml +++ b/k8s/system/traefik-dashboard.yaml @@ -5,11 +5,10 @@ metadata: namespace: kube-system spec: 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 services: - name: api@internal kind: TraefikService middlewares: - name: traefik-forward-auth - # namespace: kube-system