Skip to content

Commit

Permalink
ADD: Another tip on middleware configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Fredrik Klingenberg <fredrkl@gmail.com>
  • Loading branch information
fredrkl committed Sep 8, 2022
1 parent afccace commit 52b6361
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Demo on setting up Traefik in K8s. This demo also spins up a new MS AKS cluster.

## Tips

- If you want to use [middlewares](https://doc.traefik.io/traefik/middlewares/overview/) in K8s, you need to enable the KubernetesCRD provider regardless, even if you use the KubernetesIngress provider for Traefik configuration, e.g,. <https://github.com/fredrkl/traefik-k8s-setup/commit/fcdba1a878c815249e07ba711a0e9429572882ff>
- If you want to use [middlewares](https://doc.traefik.io/traefik/middlewares/overview/) in K8s, you need to enable the KubernetesCRD provider regardless, even if you use the KubernetesIngress provider for Traefik configuration, e.g., <https://github.com/fredrkl/traefik-k8s-setup/commit/fcdba1a878c815249e07ba711a0e9429572882ff>
- Also, make sure that the middleware name does __not__ include -. Traefik uses - in its naming convention to find the middlewares namespace.

## Workflows

Expand Down

0 comments on commit 52b6361

Please sign in to comment.