Setup Traefik dashboard on local k8s cluster

I have a k8s cluster deployed on my workstation using microk8s. I have set up traefik as the ingress using helm. I am deploying using the following instructions. I have added the following custom changes in my values.yml

deployment:
  kind: DaemonSet
  hostAliases:
    - ip: "127.0.0.1"
    hostnames:
     - "courtroom.local"
rbac:
  namespaced: true
ingressRoute:
  dashboard:
    enabled: true
    matchRule: Host(`traefik.courtroom.local`)
    entryPoints: ["websecure"]
    middlewares:
      - name: traefik-dashboard-auth
extraObjects:
  - apiVersion: v1
    kind: Secret
    metadata:
      name: traefik-dashboard-auth-secret
    type: kubernetes.io/basic-auth
    stringData:
      username: admin
      password: changeme
  - apiVersion: traefik.io/v1alpha1
    kind: Middleware
    metadata:
      name: traefik-dashboard-auth
    spec:
      basicAuth:
        secret: traefik-dashboard-auth-secret

I have deployed the above chart in traefik namespace which I created before installing the chart.
After the chart is installed I set up k8s port forwarding in another terminal using

kubectl port-forward --namespace traefik $(kubectl get pods --namespace traefik --output name --selector "app.kubernetes.io/name=traefik") 9000:9000

When I visit https://localhost:9000/dashboard/ I get a 404 Not found page and the url http://courtroom.local:9000/dashboard is not able to connect