tweak traefik dashboard rule
This commit is contained in:
parent
f116012a37
commit
1ce70c5010
1 changed files with 1 additions and 2 deletions
|
@ -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
|
|
||||||
|
|
Loading…
Reference in a new issue