From 606b43dc512fbeceb79d756a6ddcf796676dc884 Mon Sep 17 00:00:00 2001 From: Tom Moulard Date: Thu, 4 Mar 2021 09:24:03 +0100 Subject: [PATCH] Clarify doc for ingressclass name in k8s 1.18+ --- docs/content/providers/kubernetes-ingress.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/content/providers/kubernetes-ingress.md b/docs/content/providers/kubernetes-ingress.md index 438d16a29..56243c418 100644 --- a/docs/content/providers/kubernetes-ingress.md +++ b/docs/content/providers/kubernetes-ingress.md @@ -224,7 +224,9 @@ Otherwise, Ingresses missing the annotation, having an empty value, or the value If the Kubernetes cluster version is 1.18+, the new `IngressClass` resource can be leveraged to identify Ingress objects that should be processed. - In that case, Traefik will look for an `IngressClass` in the cluster with the controller value equal to *traefik.io/ingress-controller*. + In that case, Traefik will look for an `IngressClass` in the cluster with the controller value equal to *traefik.io/ingress-controller*. + + In addition to the controller value matching mechanism, the property `ingressClass` (if set) will be used to select IngressClasses by applying a strict matching on their name. Please see [this article](https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/) for more information or the example below.