diff --git a/docs/content/providers/kubernetes-crd.md b/docs/content/providers/kubernetes-crd.md index cbdbae76c..32538a861 100644 --- a/docs/content/providers/kubernetes-crd.md +++ b/docs/content/providers/kubernetes-crd.md @@ -173,7 +173,7 @@ Array of namespaces to watch. ### `labelselector` -_Optional,Default: empty (process all Ingresses)_ +_Optional,Default: empty (process all resources)_ ```toml tab="File (TOML)" [providers.kubernetesCRD] @@ -192,8 +192,8 @@ providers: --providers.kubernetescrd.labelselector="A and not B" ``` -By default, Traefik processes all Ingress objects in the configured namespaces. -A label selector can be defined to filter on specific Ingress objects only. +By default, Traefik processes all resource objects in the configured namespaces. +A label selector can be defined to filter on specific resource objects only. See [label-selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors) for details. @@ -218,10 +218,10 @@ providers: --providers.kubernetescrd.ingressclass=traefik-internal ``` -Value of `kubernetes.io/ingress.class` annotation that identifies Ingress objects to be processed. +Value of `kubernetes.io/ingress.class` annotation that identifies resource objects to be processed. -If the parameter is non-empty, only Ingresses containing an annotation with the same value are processed. -Otherwise, Ingresses missing the annotation, having an empty value, or the value `traefik` are processed. +If the parameter is non-empty, only resources containing an annotation with the same value are processed. +Otherwise, resources missing the annotation, having an empty value, or the value `traefik` are processed. ### `throttleDuration` diff --git a/docs/content/routing/routers/index.md b/docs/content/routing/routers/index.md index 077c2df25..bba559dc9 100644 --- a/docs/content/routing/routers/index.md +++ b/docs/content/routing/routers/index.md @@ -235,8 +235,8 @@ The table below lists all the available matchers: | ```Host(`example.com`, ...)``` | Check if the request domain targets one of the given `domains`. | | ```HostRegexp(`example.com`, `{subdomain:[a-z]+}.example.com`, ...)``` | Check if the request domain matches the given `regexp`. | | ```Method(`GET`, ...)``` | Check if the request method is one of the given `methods` (`GET`, `POST`, `PUT`, `DELETE`, `PATCH`) | -| ```Path(`/path`, `/articles/{category}/{id:[0-9]+}`, ...)``` | Match exact request path. It accepts a sequence of literal and regular expression paths. | -| ```PathPrefix(`/products/`, `/articles/{category}/{id:[0-9]+}`)``` | Match request prefix path. It accepts a sequence of literal and regular expression prefix paths. | +| ```Path(`/path`, `/articles/{cat:[a-z]+}/{id:[0-9]+}`, ...)``` | Match exact request path. It accepts a sequence of literal and regular expression paths. | +| ```PathPrefix(`/products/`, `/articles/{cat:[a-z]+}/{id:[0-9]+}`)``` | Match request prefix path. It accepts a sequence of literal and regular expression prefix paths. | | ```Query(`foo=bar`, `bar=baz`)``` | Match Query String parameters. It accepts a sequence of key=value pairs. | !!! important "Regexp Syntax"