Add sentence about the resource namespace and middleware

This commit is contained in:
Manuel Zapf 2020-04-27 11:32:05 +02:00 committed by GitHub
parent e1d51b51f2
commit 4fcf7bf2de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -622,6 +622,8 @@ Register the `Middleware` [kind](../../reference/dynamic-configuration/kubernete
(in the reference to the middleware) with the [provider namespace](../../middlewares/overview.md#provider-namespace), (in the reference to the middleware) with the [provider namespace](../../middlewares/overview.md#provider-namespace),
when the definition of the middleware comes from another provider. when the definition of the middleware comes from another provider.
In this context, specifying a namespace when referring to the resource does not make any sense, and will be ignored. In this context, specifying a namespace when referring to the resource does not make any sense, and will be ignored.
Additionally, when you want to reference a Middleware from the CRD Provider,
you have to append the namespace of the resource in the resource-name as Traefik appends the namespace internally automatically.
More information about available middlewares in the dedicated [middlewares section](../../middlewares/overview.md). More information about available middlewares in the dedicated [middlewares section](../../middlewares/overview.md).