Update Traefik configuration to enable dashboard API and adjust routing rules
This commit is contained in:
parent
a6dd91a88c
commit
259835cb25
@ -7,6 +7,11 @@ traefik:
|
||||
|
||||
installCRDs: true
|
||||
|
||||
# Enable API (required for dashboard)
|
||||
api:
|
||||
dashboard: true
|
||||
insecure: false
|
||||
|
||||
service:
|
||||
type: LoadBalancer
|
||||
annotations:
|
||||
@ -55,13 +60,14 @@ traefik:
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: traefik-gateway
|
||||
sectionName: web
|
||||
hostnames:
|
||||
- "traefik.noxxos.nl"
|
||||
rules:
|
||||
- matches:
|
||||
- path: { type: PathPrefix, value: /dashboard }
|
||||
- path: { type: PathPrefix, value: /api }
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
backendRefs:
|
||||
- group: traefik.io
|
||||
kind: TraefikService
|
||||
name: api@internal
|
||||
- name: traefik
|
||||
port: 9000
|
||||
|
||||
Loading…
Reference in New Issue
Block a user