Set default certificate into Kubernetes

Hi,
I'm trying to set the default certificate for traefik v2.2 RC. I'm trying to follow this guide: https://docs.traefik.io/v2.2/https/tls/#default-certificate but I'm unable to get it running into kubernetes.

I created my TLSStrore and set my default certificate, but I'm don't know how to say to traefik that use this TLSStore as default certificate.

I try to copy the following example:

apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: ingressroutebar

spec:
  entryPoints:
    - web
  routes:
  - match: Host(`bar.com`) && PathPrefix(`/stripit`)
    kind: Rule
    services:
    - name: whoami
      port: 80
  tls:
    store: 
      name: default

But for my case It's not running and always traefik answer with the traefik fake certificate.

Can anyone help me?

Thanks

Hello,

You don't need to reference the TLSStore.

The default store is applied automatically.

Thanks for your reply.

My fault is I renamed the default TLSStore to other name, I renamed it to default and all works as spected.