From ff7b814edc836de9fa597def2dc1be93a52379b5 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Doumenjou <925513+jbdoumenjou@users.noreply.github.com> Date: Tue, 27 Oct 2020 12:46:04 +0100 Subject: [PATCH] fix documentation --- docs/content/routing/providers/kubernetes-crd.md | 7 +++---- docs/content/routing/providers/kubernetes-ingress.md | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/content/routing/providers/kubernetes-crd.md b/docs/content/routing/providers/kubernetes-crd.md index 4256180e9..0ccedfbeb 100644 --- a/docs/content/routing/providers/kubernetes-crd.md +++ b/docs/content/routing/providers/kubernetes-crd.md @@ -619,7 +619,7 @@ Register the `Middleware` [kind](../../reference/dynamic-configuration/kubernete !!! important "Cross-provider namespace" As Kubernetes also has its own notion of namespace, one should not confuse the kubernetes namespace of a resource - (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](../../providers/overview.md#provider-namespace), 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. Additionally, when you want to reference a Middleware from the CRD Provider, @@ -1456,8 +1456,7 @@ or referencing TLS options in the [`IngressRoute`](#kind-ingressroute) / [`Ingre If the optional `namespace` attribute is not set, the configuration will be applied with the namespace of the IngressRoute. Additionally, when the definition of the TLS option is from another provider, - the cross-provider syntax (`middlewarename@provider`) should be used to refer to the TLS option, - just as in the [middleware case](../../middlewares/overview.md#provider-namespace). + the cross-provider [syntax](../../providers/overview.md#provider-namespace) (`middlewarename@provider`) should be used to refer to the TLS option. Specifying a namespace attribute in this case would not make any sense, and will be ignored. ### Kind: `TLSStore` @@ -1490,7 +1489,7 @@ or referencing TLS stores in the [`IngressRoute`](#kind-ingressroute) / [`Ingres | Ref | Attribute | Purpose | |-----|-----------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| [1] | `secretName` | The name of the referenced Kubernetes [Secret](https://kubernetes.io/docs/concepts/configuration/secret/) that holds the default certificate for the store. | +| [1] | `secretName` | The name of the referenced Kubernetes [Secret](https://kubernetes.io/docs/concepts/configuration/secret/) that holds the default certificate for the store. | ??? example "Declaring and referencing a TLSStore" diff --git a/docs/content/routing/providers/kubernetes-ingress.md b/docs/content/routing/providers/kubernetes-ingress.md index 8b79402f8..37ea864f9 100644 --- a/docs/content/routing/providers/kubernetes-ingress.md +++ b/docs/content/routing/providers/kubernetes-ingress.md @@ -531,6 +531,7 @@ This way, any Ingress attached to this Entrypoint will have TLS termination by d ### Enabling TLS via Annotations To enable TLS on the underlying router created from an Ingress, one should configure it through annotations: + ```yaml traefik.ingress.kubernetes.io/router.tls: "true" ```