Making the dashboard available under https on Kubernetes

I am trying to make the traefik dashboard available under https (self signed) with a Kubernetes CRD resource:

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: dashboard
spec:
  entryPoints:
    - websecure
  routes:
    - match: Host(`traefik.mydomain.net`) && (PathPrefix(`/dashboard`) || PathPrefix(`/api`))
      kind: Rule
      services:
        - name: api@internal
          kind: TraefikService
  tls:
    certResolver: default

I am getting a 404 - not found after accepting the security warnings.
My own services work just fine using a similar setup.

Is it not possible to expose the dashboard on https?

I realized that the name of this IngressRoute was the same as the one I used for the web entry point. Once I changed it, it started working fine.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.