annotation documentation for middleware incorrect #6506
Labels
area/documentation
area/middleware
area/provider/k8s/ingress
kind/bug/confirmed
a confirmed bug (reproducible).
status/5-frozen-due-to-age
Projects
Milestone
Do you want to request a feature or report a bug?
Bug
What did you do?
Try adding a middleware to an
Ingress
per the doc of the new feature in 2.2.https://github.com/containous/traefik/pull/6160/files
What did you expect to see?
The middleware applied to the
Ingress
What did you see instead?
Failure and a
404
on the endpoint.Output of
traefik version
: (What version of Traefik are you using?)What is your environment & configuration (arguments, toml, provider, platform, ...)?
Ingress
mode installed via the helm chart.Simply removing the
-
from thenamespace
aspect of the middleware works.ie:
traefik.ingress.kubernetes.io/router.middlewares: prefix@kuberntescrd
Also, it may be good to give some explanation about the autogenerated names of the middlewares created via
CRD
. For example explain something like:The text was updated successfully, but these errors were encountered: