I am getting a " 503 Service Unavailable" message on the dashboard.
I want to expose the dashboard over the ingress route and with auth middleware.
Static configuration:
[api]
insecure = false
dashboard = true
Dynamic configuration:
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: traefik-web-ui
namespace: kube-system
spec:
entryPoints:
- websecure
routes:
- match: Host(`test.domain.com`) && (PathPrefix(`/traefik`))
kind: Rule
middlewares:
- name: dashboard-basic-auth
- name: dashboard-strip-prefix
priority: 30
services:
- name: api@internal
kind: TraefikService
tls:
certResolver: letsencrypt
When I set API insecure to true and port forward it to localhost I am getting a dashboard with all data and when accessing the route for a dashboard I get these errors shown in the image below.