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
|
installCRDs: true
|
||||||
|
|
||||||
|
# Enable API (required for dashboard)
|
||||||
|
api:
|
||||||
|
dashboard: true
|
||||||
|
insecure: false
|
||||||
|
|
||||||
service:
|
service:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
annotations:
|
annotations:
|
||||||
@ -55,13 +60,14 @@ traefik:
|
|||||||
spec:
|
spec:
|
||||||
parentRefs:
|
parentRefs:
|
||||||
- name: traefik-gateway
|
- name: traefik-gateway
|
||||||
|
sectionName: web
|
||||||
hostnames:
|
hostnames:
|
||||||
- "traefik.noxxos.nl"
|
- "traefik.noxxos.nl"
|
||||||
rules:
|
rules:
|
||||||
- matches:
|
- matches:
|
||||||
- path: { type: PathPrefix, value: /dashboard }
|
- path:
|
||||||
- path: { type: PathPrefix, value: /api }
|
type: PathPrefix
|
||||||
|
value: /
|
||||||
backendRefs:
|
backendRefs:
|
||||||
- group: traefik.io
|
- name: traefik
|
||||||
kind: TraefikService
|
port: 9000
|
||||||
name: api@internal
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user