IngressClass for Traefik

Since 1.18, Kubernetes deprecated the annotation, promoting the field ingressClassName.

Probably due this, the official Gitlab Chart recently evolved, replacing the with ingressClassName.

On my k3s (v1.21.5+k3s2) the effect was that the Ingress are no more processed by traefik (2.4.8). The Ingress now contains a ingressClassName:traefik but Traefik ignores it. I had to add a IngressClass named traefik to restore behavior.

Did I missed something?
What about adding a IngressClass named traefik directly in the k3s?