traefik-helm-chart icon indicating copy to clipboard operation
traefik-helm-chart copied to clipboard

Add IngressClass annotation to dashboard IngressRoute per default if …

Open samox73 opened this issue 3 months ago • 0 comments

What does this PR do?

This PR adds the annotation for the IngressClass to the IngressRoute of the dashboard, if necessary.

Motivation

When deployed with an IngressClass filter on the IngressRoute or Ingress providers, Traefik does not see it's own IngressRoute for the dashboard.

More

  • [x] Yes, I updated the tests accordingly
  • [x] Yes, I ran make test and all the tests passed

One test had to be removed since per default the .metadata.annotations object will not be null on the dashboard IngressRoute

samox73 avatar May 24 '24 14:05 samox73