Refactor Kubernetes configuration to use Traefik for dashboard routing
This commit is contained in:
@@ -5,9 +5,9 @@ metadata:
|
|||||||
name: dashboard
|
name: dashboard
|
||||||
spec:
|
spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- web
|
- traefik
|
||||||
routes:
|
routes:
|
||||||
- match: Host(`node03.local`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
|
- match: (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
|
||||||
kind: Rule
|
kind: Rule
|
||||||
services:
|
services:
|
||||||
- name: api@internal
|
- name: api@internal
|
||||||
|
|||||||
Reference in New Issue
Block a user