Kubernetes dashboard through traefik

I have a Kubernetes cluster (release 1.23.4) working using Traefik(release 2.7.0). I would like to access the kubernetes dashboard through IngressRoute Traefix, everything seems to work correctly no error in the log of the Traefik pod and the dashboard but when i want to access the kubernetes dashboard it can not access the page: https://k8sdash.kub.techlabnews.com/api/v1/login/status and I have an error 404.(log in the firefox console).

Use this code for create the IngressRoute :

apiVersion: traefik.containo.us/v1alpha1
kind: ServersTransport
metadata:
  name: kubernetes-dashboard-transport
  namespace: kubernetes-dashboard

spec:
  serverName: "k8sdash.kub.techlabnews.com" 
  insecureSkipVerify: true

---  
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: kubernetes-dashboard
  namespace: kubernetes-dashboard
spec:
  entryPoints:
    - websecure
  routes:
    - kind: Rule
      match: Host(`k8sdash.kub.techlabnews.com`)
      services:
        - kind: Service
          port: 443
          name: kubernetes-dashboard
          namespace: kubernetes-dashboard
          serversTransport: kubernetes-dashboard-transport
  tls:
    secretName: kub.techlabnews-com-cert-secret-replica

That sounds like a Kubernetes problem rather than something to do with Terraform. Is there something related to Terraform related to this question?