fix documentation
This commit is contained in:
parent
ea459e9af0
commit
ff7b814edc
2 changed files with 4 additions and 4 deletions
|
@ -619,7 +619,7 @@ Register the `Middleware` [kind](../../reference/dynamic-configuration/kubernete
|
||||||
!!! important "Cross-provider namespace"
|
!!! important "Cross-provider namespace"
|
||||||
|
|
||||||
As Kubernetes also has its own notion of namespace, one should not confuse the kubernetes namespace of a resource
|
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.
|
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,
|
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.
|
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,
|
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,
|
the cross-provider [syntax](../../providers/overview.md#provider-namespace) (`middlewarename@provider`) should be used to refer to the TLS option.
|
||||||
just as in the [middleware case](../../middlewares/overview.md#provider-namespace).
|
|
||||||
Specifying a namespace attribute in this case would not make any sense, and will be ignored.
|
Specifying a namespace attribute in this case would not make any sense, and will be ignored.
|
||||||
|
|
||||||
### Kind: `TLSStore`
|
### Kind: `TLSStore`
|
||||||
|
@ -1490,7 +1489,7 @@ or referencing TLS stores in the [`IngressRoute`](#kind-ingressroute) / [`Ingres
|
||||||
|
|
||||||
| Ref | Attribute | Purpose |
|
| 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"
|
??? example "Declaring and referencing a TLSStore"
|
||||||
|
|
||||||
|
|
|
@ -531,6 +531,7 @@ This way, any Ingress attached to this Entrypoint will have TLS termination by d
|
||||||
### Enabling TLS via Annotations
|
### Enabling TLS via Annotations
|
||||||
|
|
||||||
To enable TLS on the underlying router created from an Ingress, one should configure it through annotations:
|
To enable TLS on the underlying router created from an Ingress, one should configure it through annotations:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue