Env:
- k8s
- traefik via helm chart 38.0.2
- traefik 3.6.6
I deployed a middleware which does show up in the dashboard and does work on a router - but i would like it to be applied to all routes.
kubectl get -n traefik-external Middleware trusted-proxy-ips-default
NAME AGE
trusted-proxy-ips-default 18m
Now i added this middleware to the traefik helm chart
ports:
websecure:
http:
middlewares:
- traefik-external-trusted-proxy-ips-default@kubernetescrd
Thus i’am accounting for the namespace traefik-external (the same one the traefik is deployed), the acual middleware name trusted-proxy-ips-default and the provider @kubernetescrd
When i check in the dashboard, i see that the name matches by accessing it, the url is middlewares/traefik-external-trusted-proxy-ips-default@kubernetescrd
As explained, the middleware does show up in the actual dashbaord and i can use it on the route - but it does not get to be applied on the routes by default.
I do not see any error messages at all in the traefik port, but also, there is not way to check if the middleware is on the port right (i can check it for routes but nor ports/endpoints?)
Any help would be required ( checked Traefik EntryPoints Documentation - Traefik )