Refactor Kubernetes configuration to use Traefik for dashboard routing

This commit is contained in:
2024-07-13 20:03:02 +08:00
parent b6713b2830
commit 1281266ff5
+2 -2
View File
@@ -5,9 +5,9 @@ metadata:
name: dashboard
spec:
entryPoints:
- web
- traefik
routes:
- match: Host(`node03.local`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
- match: (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
kind: Rule
services:
- name: api@internal