traefik-helm-chart
traefik-helm-chart copied to clipboard
Add IngressClass annotation to dashboard IngressRoute per default if …
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