I upgrade from v2 to v3
in v2 i use ingressroute with tls that store in secret -
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
name: my-traefik
annotations:
ingressClass: "traefik"
spec:
entryPoints:
- web
- websecure
routes:
services:
- name: my-service
port: 80
scheme: http
- match: example.com
kind: Rule
services:
- name: my-name
port: 80
scheme: http
tls:
secretName: my-secret
in v2 it works fine
and now I get this logs-
2024-05-02T12:14:06Z DBG github.com/traefik/traefik/v3/pkg/tls/tlsmanager.go:228 > Serving default certificate for request: "example.com"
2024-05-02T12:14:06Z DBG github.com/traefik/traefik/v3/pkg/tls/tlsmanager.go:228 > Serving default certificate for request: "example.com"
2024-05-02T12:14:06Z DBG log/log.go:245 > http: TLS handshake error from 10.220.0.1:57414: remote error: tls: unknown certificate
2024-05-02T12:14:06Z DBG log/log.go:245 > http: TLS handshake error from 10.220.0.1:64461: remote error: tls: unknown certificate
how to fix it ?