Prepare release v2.11.0-rc1
This commit is contained in:
parent
56e2110dc5
commit
9adf0fb638
69 changed files with 617 additions and 595 deletions
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
4
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -2,11 +2,11 @@
|
||||||
PLEASE READ THIS MESSAGE.
|
PLEASE READ THIS MESSAGE.
|
||||||
|
|
||||||
Documentation fixes or enhancements:
|
Documentation fixes or enhancements:
|
||||||
- for Traefik v2: use branch v2.10
|
- for Traefik v2: use branch v2.11
|
||||||
- for Traefik v3: use branch v3.0
|
- for Traefik v3: use branch v3.0
|
||||||
|
|
||||||
Bug fixes:
|
Bug fixes:
|
||||||
- for Traefik v2: use branch v2.10
|
- for Traefik v2: use branch v2.11
|
||||||
- for Traefik v3: use branch v3.0
|
- for Traefik v3: use branch v3.0
|
||||||
|
|
||||||
Enhancements:
|
Enhancements:
|
||||||
|
|
|
@ -64,7 +64,7 @@ blocks:
|
||||||
- name: GH_VERSION
|
- name: GH_VERSION
|
||||||
value: 2.32.1
|
value: 2.32.1
|
||||||
- name: CODENAME
|
- name: CODENAME
|
||||||
value: "saintmarcelin"
|
value: "mimolette"
|
||||||
- name: IN_DOCKER
|
- name: IN_DOCKER
|
||||||
value: ""
|
value: ""
|
||||||
prologue:
|
prologue:
|
||||||
|
|
22
CHANGELOG.md
22
CHANGELOG.md
|
@ -1,3 +1,25 @@
|
||||||
|
## [v2.11.0-rc1](https://github.com/traefik/traefik/tree/v2.11.0-rc1) (2024-01-02)
|
||||||
|
[All Commits](https://github.com/traefik/traefik/compare/0a7964300166d167f68d5502bc245b3b9c8842b4...v2.11.0-rc1)
|
||||||
|
|
||||||
|
**Enhancements:**
|
||||||
|
- **[middleware]** Deprecate IPWhiteList middleware in favor of IPAllowList ([#10249](https://github.com/traefik/traefik/pull/10249) by [lbenguigui](https://github.com/lbenguigui))
|
||||||
|
- **[redis]** Add Redis Sentinel support ([#10245](https://github.com/traefik/traefik/pull/10245) by [youkoulayley](https://github.com/youkoulayley))
|
||||||
|
- **[server]** Add KeepAliveMaxTime and KeepAliveMaxRequests features to entrypoints ([#10247](https://github.com/traefik/traefik/pull/10247) by [juliens](https://github.com/juliens))
|
||||||
|
- **[sticky-session]** Hash WRR sticky cookies ([#10243](https://github.com/traefik/traefik/pull/10243) by [youkoulayley](https://github.com/youkoulayley))
|
||||||
|
|
||||||
|
**Bug fixes:**
|
||||||
|
- **[file]** Update github.com/fsnotify/fsnotify to v1.7.0 ([#10313](https://github.com/traefik/traefik/pull/10313) by [ldez](https://github.com/ldez))
|
||||||
|
- **[http3]** Update quic-go to v0.40.1 ([#10296](https://github.com/traefik/traefik/pull/10296) by [ldez](https://github.com/ldez))
|
||||||
|
- **[server]** Fix ReadHeaderTimeout for PROXY protocol ([#10320](https://github.com/traefik/traefik/pull/10320) by [juliens](https://github.com/juliens))
|
||||||
|
|
||||||
|
**Documentation:**
|
||||||
|
- **[acme]** Fix TLS challenge explanation ([#10293](https://github.com/traefik/traefik/pull/10293) by [cavokz](https://github.com/cavokz))
|
||||||
|
- **[docker,acme]** Fix typo ([#10294](https://github.com/traefik/traefik/pull/10294) by [youpsla](https://github.com/youpsla))
|
||||||
|
- **[docker]** Update wording of compose example ([#10276](https://github.com/traefik/traefik/pull/10276) by [svx](https://github.com/svx))
|
||||||
|
- **[k8s/crd]** Adjust deprecation notice for Kubernetes CRD provider ([#10317](https://github.com/traefik/traefik/pull/10317) by [rtribotte](https://github.com/rtribotte))
|
||||||
|
- Fix description for anonymous usage statistics references ([#10287](https://github.com/traefik/traefik/pull/10287) by [ariyonaty](https://github.com/ariyonaty))
|
||||||
|
- Documentation enhancements ([#10261](https://github.com/traefik/traefik/pull/10261) by [svx](https://github.com/svx))
|
||||||
|
|
||||||
## [v2.10.7](https://github.com/traefik/traefik/tree/v2.10.7) (2023-12-06)
|
## [v2.10.7](https://github.com/traefik/traefik/tree/v2.10.7) (2023-12-06)
|
||||||
[All Commits](https://github.com/traefik/traefik/compare/v2.10.6...v2.10.7)
|
[All Commits](https://github.com/traefik/traefik/compare/v2.10.6...v2.10.7)
|
||||||
|
|
||||||
|
|
|
@ -79,7 +79,7 @@ traefik --help
|
||||||
# or
|
# or
|
||||||
|
|
||||||
docker run traefik[:version] --help
|
docker run traefik[:version] --help
|
||||||
# ex: docker run traefik:v2.10 --help
|
# ex: docker run traefik:v2.11 --help
|
||||||
```
|
```
|
||||||
|
|
||||||
Check the [CLI reference](../reference/static-configuration/cli.md "Link to CLI reference overview") for an overview about all available arguments.
|
Check the [CLI reference](../reference/static-configuration/cli.md "Link to CLI reference overview") for an overview about all available arguments.
|
||||||
|
|
|
@ -16,12 +16,12 @@ You can install Traefik with the following flavors:
|
||||||
|
|
||||||
Choose one of the [official Docker images](https://hub.docker.com/_/traefik) and run it with one sample configuration file:
|
Choose one of the [official Docker images](https://hub.docker.com/_/traefik) and run it with one sample configuration file:
|
||||||
|
|
||||||
* [YAML](https://raw.githubusercontent.com/traefik/traefik/v2.10/traefik.sample.yml)
|
* [YAML](https://raw.githubusercontent.com/traefik/traefik/v2.11/traefik.sample.yml)
|
||||||
* [TOML](https://raw.githubusercontent.com/traefik/traefik/v2.10/traefik.sample.toml)
|
* [TOML](https://raw.githubusercontent.com/traefik/traefik/v2.11/traefik.sample.toml)
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run -d -p 8080:8080 -p 80:80 \
|
docker run -d -p 8080:8080 -p 80:80 \
|
||||||
-v $PWD/traefik.yml:/etc/traefik/traefik.yml traefik:v2.10
|
-v $PWD/traefik.yml:/etc/traefik/traefik.yml traefik:v2.11
|
||||||
```
|
```
|
||||||
|
|
||||||
For more details, go to the [Docker provider documentation](../providers/docker.md)
|
For more details, go to the [Docker provider documentation](../providers/docker.md)
|
||||||
|
@ -29,7 +29,7 @@ For more details, go to the [Docker provider documentation](../providers/docker.
|
||||||
!!! tip
|
!!! tip
|
||||||
|
|
||||||
* Prefer a fixed version than the latest that could be an unexpected version.
|
* Prefer a fixed version than the latest that could be an unexpected version.
|
||||||
ex: `traefik:v2.10`
|
ex: `traefik:v2.11`
|
||||||
* Docker images are based from the [Alpine Linux Official image](https://hub.docker.com/_/alpine).
|
* Docker images are based from the [Alpine Linux Official image](https://hub.docker.com/_/alpine).
|
||||||
* Any orchestrator using docker images can fetch the official Traefik docker image.
|
* Any orchestrator using docker images can fetch the official Traefik docker image.
|
||||||
|
|
||||||
|
|
|
@ -130,7 +130,7 @@ spec:
|
||||||
serviceAccountName: traefik-account
|
serviceAccountName: traefik-account
|
||||||
containers:
|
containers:
|
||||||
- name: traefik
|
- name: traefik
|
||||||
image: traefik:v2.10
|
image: traefik:v2.11
|
||||||
args:
|
args:
|
||||||
- --api.insecure
|
- --api.insecure
|
||||||
- --providers.kubernetesingress
|
- --providers.kubernetesingress
|
||||||
|
|
|
@ -20,7 +20,7 @@ version: '3'
|
||||||
services:
|
services:
|
||||||
reverse-proxy:
|
reverse-proxy:
|
||||||
# The official v2 Traefik docker image
|
# The official v2 Traefik docker image
|
||||||
image: traefik:v2.10
|
image: traefik:v2.11
|
||||||
# Enables the web UI and tells Traefik to listen to docker
|
# Enables the web UI and tells Traefik to listen to docker
|
||||||
command: --api.insecure=true --providers.docker
|
command: --api.insecure=true --providers.docker
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -254,7 +254,7 @@ version: "3.7"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:v2.10
|
image: traefik:v2.11
|
||||||
environment:
|
environment:
|
||||||
- TZ=US/Alaska
|
- TZ=US/Alaska
|
||||||
command:
|
command:
|
||||||
|
|
|
@ -267,7 +267,7 @@ See the sections [Docker API Access](#docker-api-access) and [Docker Swarm API A
|
||||||
|
|
||||||
services:
|
services:
|
||||||
traefik:
|
traefik:
|
||||||
image: traefik:v2.10 # The official v2 Traefik docker image
|
image: traefik:v2.11 # The official v2 Traefik docker image
|
||||||
ports:
|
ports:
|
||||||
- "80:80"
|
- "80:80"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -35,10 +35,10 @@ the Traefik engineering team developed a [Custom Resource Definition](https://ku
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Install Traefik Resource Definitions:
|
# Install Traefik Resource Definitions:
|
||||||
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml
|
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.11/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml
|
||||||
|
|
||||||
# Install RBAC for Traefik:
|
# Install RBAC for Traefik:
|
||||||
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml
|
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.11/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
## Resource Configuration
|
## Resource Configuration
|
||||||
|
|
|
@ -502,6 +502,6 @@ providers:
|
||||||
### Further
|
### Further
|
||||||
|
|
||||||
To learn more about the various aspects of the Ingress specification that Traefik supports,
|
To learn more about the various aspects of the Ingress specification that Traefik supports,
|
||||||
many examples of Ingresses definitions are located in the test [examples](https://github.com/traefik/traefik/tree/v2.10/pkg/provider/kubernetes/ingress/fixtures) of the Traefik repository.
|
many examples of Ingresses definitions are located in the test [examples](https://github.com/traefik/traefik/tree/v2.11/pkg/provider/kubernetes/ingress/fixtures) of the Traefik repository.
|
||||||
|
|
||||||
{!traefik-for-business-applications.md!}
|
{!traefik-for-business-applications.md!}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -25,7 +25,7 @@ spec:
|
||||||
serviceAccountName: traefik-controller
|
serviceAccountName: traefik-controller
|
||||||
containers:
|
containers:
|
||||||
- name: traefik
|
- name: traefik
|
||||||
image: traefik:v2.10
|
image: traefik:v2.11
|
||||||
args:
|
args:
|
||||||
- --entrypoints.web.address=:80
|
- --entrypoints.web.address=:80
|
||||||
- --entrypoints.websecure.address=:443
|
- --entrypoints.websecure.address=:443
|
||||||
|
|
|
@ -37,7 +37,7 @@ spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
description: 'EntryPoints defines the list of entry point names to
|
description: 'EntryPoints defines the list of entry point names to
|
||||||
bind to. Entry points have to be configured in the static configuration.
|
bind to. Entry points have to be configured in the static configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/
|
More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||||
Default: all.'
|
Default: all.'
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
@ -54,11 +54,11 @@ spec:
|
||||||
- Rule
|
- Rule
|
||||||
type: string
|
type: string
|
||||||
match:
|
match:
|
||||||
description: 'Match defines the router''s rule. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule'
|
description: 'Match defines the router''s rule. More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#rule'
|
||||||
type: string
|
type: string
|
||||||
middlewares:
|
middlewares:
|
||||||
description: 'Middlewares defines the list of references to
|
description: 'Middlewares defines the list of references to
|
||||||
Middleware resources. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-middleware'
|
Middleware resources. More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-middleware'
|
||||||
items:
|
items:
|
||||||
description: MiddlewareRef is a reference to a Middleware
|
description: MiddlewareRef is a reference to a Middleware
|
||||||
resource.
|
resource.
|
||||||
|
@ -77,7 +77,7 @@ spec:
|
||||||
type: array
|
type: array
|
||||||
priority:
|
priority:
|
||||||
description: 'Priority defines the router''s priority. More
|
description: 'Priority defines the router''s priority. More
|
||||||
info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority'
|
info: https://doc.traefik.io/traefik/v2.11/routing/routers/#priority'
|
||||||
type: integer
|
type: integer
|
||||||
services:
|
services:
|
||||||
description: Services defines the list of Service. It can contain
|
description: Services defines the list of Service. It can contain
|
||||||
|
@ -150,7 +150,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
sticky:
|
sticky:
|
||||||
description: 'Sticky defines the sticky sessions configuration.
|
description: 'Sticky defines the sticky sessions configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions'
|
||||||
properties:
|
properties:
|
||||||
cookie:
|
cookie:
|
||||||
description: Cookie defines the sticky cookie configuration.
|
description: Cookie defines the sticky cookie configuration.
|
||||||
|
@ -195,16 +195,16 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
tls:
|
tls:
|
||||||
description: 'TLS defines the TLS configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls'
|
description: 'TLS defines the TLS configuration. More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls'
|
||||||
properties:
|
properties:
|
||||||
certResolver:
|
certResolver:
|
||||||
description: 'CertResolver defines the name of the certificate
|
description: 'CertResolver defines the name of the certificate
|
||||||
resolver to use. Cert resolvers have to be configured in the
|
resolver to use. Cert resolvers have to be configured in the
|
||||||
static configuration. More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers'
|
static configuration. More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers'
|
||||||
type: string
|
type: string
|
||||||
domains:
|
domains:
|
||||||
description: 'Domains defines the list of domains that will be
|
description: 'Domains defines the list of domains that will be
|
||||||
used to issue certificates. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains'
|
used to issue certificates. More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains'
|
||||||
items:
|
items:
|
||||||
description: Domain holds a domain name with SANs.
|
description: Domain holds a domain name with SANs.
|
||||||
properties:
|
properties:
|
||||||
|
@ -222,15 +222,15 @@ spec:
|
||||||
options:
|
options:
|
||||||
description: 'Options defines the reference to a TLSOption, that
|
description: 'Options defines the reference to a TLSOption, that
|
||||||
specifies the parameters of the TLS connection. If not defined,
|
specifies the parameters of the TLS connection. If not defined,
|
||||||
the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options'
|
the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options'
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
description: 'Name defines the name of the referenced TLSOption.
|
description: 'Name defines the name of the referenced TLSOption.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption'
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace defines the namespace of the referenced
|
description: 'Namespace defines the namespace of the referenced
|
||||||
TLSOption. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption'
|
TLSOption. More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption'
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- name
|
- name
|
||||||
|
@ -246,11 +246,11 @@ spec:
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
description: 'Name defines the name of the referenced TLSStore.
|
description: 'Name defines the name of the referenced TLSStore.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore'
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace defines the namespace of the referenced
|
description: 'Namespace defines the namespace of the referenced
|
||||||
TLSStore. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore'
|
TLSStore. More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore'
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- name
|
- name
|
||||||
|
|
|
@ -37,7 +37,7 @@ spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
description: 'EntryPoints defines the list of entry point names to
|
description: 'EntryPoints defines the list of entry point names to
|
||||||
bind to. Entry points have to be configured in the static configuration.
|
bind to. Entry points have to be configured in the static configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/
|
More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||||
Default: all.'
|
Default: all.'
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
@ -48,7 +48,7 @@ spec:
|
||||||
description: RouteTCP holds the TCP route configuration.
|
description: RouteTCP holds the TCP route configuration.
|
||||||
properties:
|
properties:
|
||||||
match:
|
match:
|
||||||
description: 'Match defines the router''s rule. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule_1'
|
description: 'Match defines the router''s rule. More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#rule_1'
|
||||||
type: string
|
type: string
|
||||||
middlewares:
|
middlewares:
|
||||||
description: Middlewares defines the list of references to MiddlewareTCP
|
description: Middlewares defines the list of references to MiddlewareTCP
|
||||||
|
@ -71,7 +71,7 @@ spec:
|
||||||
type: array
|
type: array
|
||||||
priority:
|
priority:
|
||||||
description: 'Priority defines the router''s priority. More
|
description: 'Priority defines the router''s priority. More
|
||||||
info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority_1'
|
info: https://doc.traefik.io/traefik/v2.11/routing/routers/#priority_1'
|
||||||
type: integer
|
type: integer
|
||||||
services:
|
services:
|
||||||
description: Services defines the list of TCP services.
|
description: Services defines the list of TCP services.
|
||||||
|
@ -103,7 +103,7 @@ spec:
|
||||||
x-kubernetes-int-or-string: true
|
x-kubernetes-int-or-string: true
|
||||||
proxyProtocol:
|
proxyProtocol:
|
||||||
description: 'ProxyProtocol defines the PROXY protocol
|
description: 'ProxyProtocol defines the PROXY protocol
|
||||||
configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#proxy-protocol'
|
configuration. More info: https://doc.traefik.io/traefik/v2.11/routing/services/#proxy-protocol'
|
||||||
properties:
|
properties:
|
||||||
version:
|
version:
|
||||||
description: Version defines the PROXY Protocol version
|
description: Version defines the PROXY Protocol version
|
||||||
|
@ -134,16 +134,16 @@ spec:
|
||||||
type: array
|
type: array
|
||||||
tls:
|
tls:
|
||||||
description: 'TLS defines the TLS configuration on a layer 4 / TCP
|
description: 'TLS defines the TLS configuration on a layer 4 / TCP
|
||||||
Route. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls_1'
|
Route. More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls_1'
|
||||||
properties:
|
properties:
|
||||||
certResolver:
|
certResolver:
|
||||||
description: 'CertResolver defines the name of the certificate
|
description: 'CertResolver defines the name of the certificate
|
||||||
resolver to use. Cert resolvers have to be configured in the
|
resolver to use. Cert resolvers have to be configured in the
|
||||||
static configuration. More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers'
|
static configuration. More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers'
|
||||||
type: string
|
type: string
|
||||||
domains:
|
domains:
|
||||||
description: 'Domains defines the list of domains that will be
|
description: 'Domains defines the list of domains that will be
|
||||||
used to issue certificates. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains'
|
used to issue certificates. More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains'
|
||||||
items:
|
items:
|
||||||
description: Domain holds a domain name with SANs.
|
description: Domain holds a domain name with SANs.
|
||||||
properties:
|
properties:
|
||||||
|
@ -161,7 +161,7 @@ spec:
|
||||||
options:
|
options:
|
||||||
description: 'Options defines the reference to a TLSOption, that
|
description: 'Options defines the reference to a TLSOption, that
|
||||||
specifies the parameters of the TLS connection. If not defined,
|
specifies the parameters of the TLS connection. If not defined,
|
||||||
the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options'
|
the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options'
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
description: Name defines the name of the referenced Traefik
|
description: Name defines the name of the referenced Traefik
|
||||||
|
|
|
@ -37,7 +37,7 @@ spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
description: 'EntryPoints defines the list of entry point names to
|
description: 'EntryPoints defines the list of entry point names to
|
||||||
bind to. Entry points have to be configured in the static configuration.
|
bind to. Entry points have to be configured in the static configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/
|
More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||||
Default: all.'
|
Default: all.'
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
description: 'Middleware is the CRD implementation of a Traefik Middleware.
|
description: 'Middleware is the CRD implementation of a Traefik Middleware.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/overview/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/overview/'
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
@ -38,7 +38,7 @@ spec:
|
||||||
addPrefix:
|
addPrefix:
|
||||||
description: 'AddPrefix holds the add prefix middleware configuration.
|
description: 'AddPrefix holds the add prefix middleware configuration.
|
||||||
This middleware updates the path of a request before forwarding
|
This middleware updates the path of a request before forwarding
|
||||||
it. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/addprefix/'
|
it. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/addprefix/'
|
||||||
properties:
|
properties:
|
||||||
prefix:
|
prefix:
|
||||||
description: Prefix is the string to add before the current path
|
description: Prefix is the string to add before the current path
|
||||||
|
@ -48,11 +48,11 @@ spec:
|
||||||
basicAuth:
|
basicAuth:
|
||||||
description: 'BasicAuth holds the basic auth middleware configuration.
|
description: 'BasicAuth holds the basic auth middleware configuration.
|
||||||
This middleware restricts access to your services to known users.
|
This middleware restricts access to your services to known users.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/'
|
||||||
properties:
|
properties:
|
||||||
headerField:
|
headerField:
|
||||||
description: 'HeaderField defines a header field to store the
|
description: 'HeaderField defines a header field to store the
|
||||||
authenticated user. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield'
|
authenticated user. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield'
|
||||||
type: string
|
type: string
|
||||||
realm:
|
realm:
|
||||||
description: 'Realm allows the protected resources on a server
|
description: 'Realm allows the protected resources on a server
|
||||||
|
@ -72,7 +72,7 @@ spec:
|
||||||
buffering:
|
buffering:
|
||||||
description: 'Buffering holds the buffering middleware configuration.
|
description: 'Buffering holds the buffering middleware configuration.
|
||||||
This middleware retries or limits the size of requests that can
|
This middleware retries or limits the size of requests that can
|
||||||
be forwarded to backends. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#maxrequestbodybytes'
|
be forwarded to backends. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#maxrequestbodybytes'
|
||||||
properties:
|
properties:
|
||||||
maxRequestBodyBytes:
|
maxRequestBodyBytes:
|
||||||
description: 'MaxRequestBodyBytes defines the maximum allowed
|
description: 'MaxRequestBodyBytes defines the maximum allowed
|
||||||
|
@ -105,13 +105,13 @@ spec:
|
||||||
retryExpression:
|
retryExpression:
|
||||||
description: 'RetryExpression defines the retry conditions. It
|
description: 'RetryExpression defines the retry conditions. It
|
||||||
is a logical combination of functions with operators AND (&&)
|
is a logical combination of functions with operators AND (&&)
|
||||||
and OR (||). More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#retryexpression'
|
and OR (||). More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#retryexpression'
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
chain:
|
chain:
|
||||||
description: 'Chain holds the configuration of the chain middleware.
|
description: 'Chain holds the configuration of the chain middleware.
|
||||||
This middleware enables to define reusable combinations of other
|
This middleware enables to define reusable combinations of other
|
||||||
pieces of middleware. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/chain/'
|
pieces of middleware. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/chain/'
|
||||||
properties:
|
properties:
|
||||||
middlewares:
|
middlewares:
|
||||||
description: Middlewares is the list of MiddlewareRef which composes
|
description: Middlewares is the list of MiddlewareRef which composes
|
||||||
|
@ -165,7 +165,7 @@ spec:
|
||||||
compress:
|
compress:
|
||||||
description: 'Compress holds the compress middleware configuration.
|
description: 'Compress holds the compress middleware configuration.
|
||||||
This middleware compresses responses before sending them to the
|
This middleware compresses responses before sending them to the
|
||||||
client, using gzip compression. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/compress/'
|
client, using gzip compression. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/compress/'
|
||||||
properties:
|
properties:
|
||||||
excludedContentTypes:
|
excludedContentTypes:
|
||||||
description: ExcludedContentTypes defines the list of content
|
description: ExcludedContentTypes defines the list of content
|
||||||
|
@ -199,11 +199,11 @@ spec:
|
||||||
digestAuth:
|
digestAuth:
|
||||||
description: 'DigestAuth holds the digest auth middleware configuration.
|
description: 'DigestAuth holds the digest auth middleware configuration.
|
||||||
This middleware restricts access to your services to known users.
|
This middleware restricts access to your services to known users.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/digestauth/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/digestauth/'
|
||||||
properties:
|
properties:
|
||||||
headerField:
|
headerField:
|
||||||
description: 'HeaderField defines a header field to store the
|
description: 'HeaderField defines a header field to store the
|
||||||
authenticated user. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield'
|
authenticated user. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield'
|
||||||
type: string
|
type: string
|
||||||
realm:
|
realm:
|
||||||
description: 'Realm allows the protected resources on a server
|
description: 'Realm allows the protected resources on a server
|
||||||
|
@ -222,7 +222,7 @@ spec:
|
||||||
errors:
|
errors:
|
||||||
description: 'ErrorPage holds the custom error middleware configuration.
|
description: 'ErrorPage holds the custom error middleware configuration.
|
||||||
This middleware returns a custom page in lieu of the default, according
|
This middleware returns a custom page in lieu of the default, according
|
||||||
to configured ranges of HTTP Status codes. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/'
|
to configured ranges of HTTP Status codes. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/'
|
||||||
properties:
|
properties:
|
||||||
query:
|
query:
|
||||||
description: Query defines the URL for the error page (hosted
|
description: Query defines the URL for the error page (hosted
|
||||||
|
@ -231,7 +231,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
service:
|
service:
|
||||||
description: 'Service defines the reference to a Kubernetes Service
|
description: 'Service defines the reference to a Kubernetes Service
|
||||||
that will serve the error page. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/#service'
|
that will serve the error page. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/#service'
|
||||||
properties:
|
properties:
|
||||||
kind:
|
kind:
|
||||||
description: Kind defines the kind of the Service.
|
description: Kind defines the kind of the Service.
|
||||||
|
@ -295,7 +295,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
sticky:
|
sticky:
|
||||||
description: 'Sticky defines the sticky sessions configuration.
|
description: 'Sticky defines the sticky sessions configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions'
|
||||||
properties:
|
properties:
|
||||||
cookie:
|
cookie:
|
||||||
description: Cookie defines the sticky cookie configuration.
|
description: Cookie defines the sticky cookie configuration.
|
||||||
|
@ -344,7 +344,7 @@ spec:
|
||||||
forwardAuth:
|
forwardAuth:
|
||||||
description: 'ForwardAuth holds the forward auth middleware configuration.
|
description: 'ForwardAuth holds the forward auth middleware configuration.
|
||||||
This middleware delegates the request authentication to a Service.
|
This middleware delegates the request authentication to a Service.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/'
|
||||||
properties:
|
properties:
|
||||||
address:
|
address:
|
||||||
description: Address defines the authentication server address.
|
description: Address defines the authentication server address.
|
||||||
|
@ -367,7 +367,7 @@ spec:
|
||||||
description: 'AuthResponseHeadersRegex defines the regex to match
|
description: 'AuthResponseHeadersRegex defines the regex to match
|
||||||
headers to copy from the authentication server response and
|
headers to copy from the authentication server response and
|
||||||
set on forwarded request, after stripping all headers that match
|
set on forwarded request, after stripping all headers that match
|
||||||
the regex. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/#authresponseheadersregex'
|
the regex. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/#authresponseheadersregex'
|
||||||
type: string
|
type: string
|
||||||
tls:
|
tls:
|
||||||
description: TLS defines the configuration used to secure the
|
description: TLS defines the configuration used to secure the
|
||||||
|
@ -398,7 +398,7 @@ spec:
|
||||||
headers:
|
headers:
|
||||||
description: 'Headers holds the headers middleware configuration.
|
description: 'Headers holds the headers middleware configuration.
|
||||||
This middleware manages the requests and responses headers. More
|
This middleware manages the requests and responses headers. More
|
||||||
info: https://doc.traefik.io/traefik/v2.10/middlewares/http/headers/#customrequestheaders'
|
info: https://doc.traefik.io/traefik/v2.11/middlewares/http/headers/#customrequestheaders'
|
||||||
properties:
|
properties:
|
||||||
accessControlAllowCredentials:
|
accessControlAllowCredentials:
|
||||||
description: AccessControlAllowCredentials defines whether the
|
description: AccessControlAllowCredentials defines whether the
|
||||||
|
@ -559,7 +559,7 @@ spec:
|
||||||
inFlightReq:
|
inFlightReq:
|
||||||
description: 'InFlightReq holds the in-flight request middleware configuration.
|
description: 'InFlightReq holds the in-flight request middleware configuration.
|
||||||
This middleware limits the number of requests being processed and
|
This middleware limits the number of requests being processed and
|
||||||
served concurrently. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/'
|
served concurrently. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/'
|
||||||
properties:
|
properties:
|
||||||
amount:
|
amount:
|
||||||
description: Amount defines the maximum amount of allowed simultaneous
|
description: Amount defines the maximum amount of allowed simultaneous
|
||||||
|
@ -573,11 +573,11 @@ spec:
|
||||||
group requests as originating from a common source. If several
|
group requests as originating from a common source. If several
|
||||||
strategies are defined at the same time, an error will be raised.
|
strategies are defined at the same time, an error will be raised.
|
||||||
If none are set, the default is to use the requestHost. More
|
If none are set, the default is to use the requestHost. More
|
||||||
info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/#sourcecriterion'
|
info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/#sourcecriterion'
|
||||||
properties:
|
properties:
|
||||||
ipStrategy:
|
ipStrategy:
|
||||||
description: 'IPStrategy holds the IP strategy configuration
|
description: 'IPStrategy holds the IP strategy configuration
|
||||||
used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipallowlist/#ipstrategy'
|
used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy'
|
||||||
properties:
|
properties:
|
||||||
depth:
|
depth:
|
||||||
description: Depth tells Traefik to use the X-Forwarded-For
|
description: Depth tells Traefik to use the X-Forwarded-For
|
||||||
|
@ -605,11 +605,11 @@ spec:
|
||||||
ipAllowList:
|
ipAllowList:
|
||||||
description: 'IPAllowList holds the IP allowlist middleware configuration.
|
description: 'IPAllowList holds the IP allowlist middleware configuration.
|
||||||
This middleware accepts / refuses requests based on the client IP.
|
This middleware accepts / refuses requests based on the client IP.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipallowlist/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/'
|
||||||
properties:
|
properties:
|
||||||
ipStrategy:
|
ipStrategy:
|
||||||
description: 'IPStrategy holds the IP strategy configuration used
|
description: 'IPStrategy holds the IP strategy configuration used
|
||||||
by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipallowlist/#ipstrategy'
|
by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy'
|
||||||
properties:
|
properties:
|
||||||
depth:
|
depth:
|
||||||
description: Depth tells Traefik to use the X-Forwarded-For
|
description: Depth tells Traefik to use the X-Forwarded-For
|
||||||
|
@ -633,12 +633,12 @@ spec:
|
||||||
ipWhiteList:
|
ipWhiteList:
|
||||||
description: 'IPWhiteList holds the IP whitelist middleware configuration.
|
description: 'IPWhiteList holds the IP whitelist middleware configuration.
|
||||||
This middleware accepts / refuses requests based on the client IP.
|
This middleware accepts / refuses requests based on the client IP.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipwhitelist/
|
||||||
Deprecated: please use IPAllowList instead.'
|
Deprecated: please use IPAllowList instead.'
|
||||||
properties:
|
properties:
|
||||||
ipStrategy:
|
ipStrategy:
|
||||||
description: 'IPStrategy holds the IP strategy configuration used
|
description: 'IPStrategy holds the IP strategy configuration used
|
||||||
by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipallowlist/#ipstrategy'
|
by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy'
|
||||||
properties:
|
properties:
|
||||||
depth:
|
depth:
|
||||||
description: Depth tells Traefik to use the X-Forwarded-For
|
description: Depth tells Traefik to use the X-Forwarded-For
|
||||||
|
@ -662,7 +662,7 @@ spec:
|
||||||
passTLSClientCert:
|
passTLSClientCert:
|
||||||
description: 'PassTLSClientCert holds the pass TLS client cert middleware
|
description: 'PassTLSClientCert holds the pass TLS client cert middleware
|
||||||
configuration. This middleware adds the selected data from the passed
|
configuration. This middleware adds the selected data from the passed
|
||||||
client TLS certificate to a header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/passtlsclientcert/'
|
client TLS certificate to a header. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/passtlsclientcert/'
|
||||||
properties:
|
properties:
|
||||||
info:
|
info:
|
||||||
description: Info selects the specific client certificate details
|
description: Info selects the specific client certificate details
|
||||||
|
@ -769,7 +769,7 @@ spec:
|
||||||
rateLimit:
|
rateLimit:
|
||||||
description: 'RateLimit holds the rate limit configuration. This middleware
|
description: 'RateLimit holds the rate limit configuration. This middleware
|
||||||
ensures that services will receive a fair amount of requests, and
|
ensures that services will receive a fair amount of requests, and
|
||||||
allows one to define what fair is. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ratelimit/'
|
allows one to define what fair is. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ratelimit/'
|
||||||
properties:
|
properties:
|
||||||
average:
|
average:
|
||||||
description: Average is the maximum rate, by default in requests/s,
|
description: Average is the maximum rate, by default in requests/s,
|
||||||
|
@ -802,7 +802,7 @@ spec:
|
||||||
properties:
|
properties:
|
||||||
ipStrategy:
|
ipStrategy:
|
||||||
description: 'IPStrategy holds the IP strategy configuration
|
description: 'IPStrategy holds the IP strategy configuration
|
||||||
used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipallowlist/#ipstrategy'
|
used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy'
|
||||||
properties:
|
properties:
|
||||||
depth:
|
depth:
|
||||||
description: Depth tells Traefik to use the X-Forwarded-For
|
description: Depth tells Traefik to use the X-Forwarded-For
|
||||||
|
@ -830,7 +830,7 @@ spec:
|
||||||
redirectRegex:
|
redirectRegex:
|
||||||
description: 'RedirectRegex holds the redirect regex middleware configuration.
|
description: 'RedirectRegex holds the redirect regex middleware configuration.
|
||||||
This middleware redirects a request using regex matching and replacement.
|
This middleware redirects a request using regex matching and replacement.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectregex/#regex'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectregex/#regex'
|
||||||
properties:
|
properties:
|
||||||
permanent:
|
permanent:
|
||||||
description: Permanent defines whether the redirection is permanent
|
description: Permanent defines whether the redirection is permanent
|
||||||
|
@ -848,7 +848,7 @@ spec:
|
||||||
redirectScheme:
|
redirectScheme:
|
||||||
description: 'RedirectScheme holds the redirect scheme middleware
|
description: 'RedirectScheme holds the redirect scheme middleware
|
||||||
configuration. This middleware redirects requests from a scheme/port
|
configuration. This middleware redirects requests from a scheme/port
|
||||||
to another. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectscheme/'
|
to another. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectscheme/'
|
||||||
properties:
|
properties:
|
||||||
permanent:
|
permanent:
|
||||||
description: Permanent defines whether the redirection is permanent
|
description: Permanent defines whether the redirection is permanent
|
||||||
|
@ -864,7 +864,7 @@ spec:
|
||||||
replacePath:
|
replacePath:
|
||||||
description: 'ReplacePath holds the replace path middleware configuration.
|
description: 'ReplacePath holds the replace path middleware configuration.
|
||||||
This middleware replaces the path of the request URL and store the
|
This middleware replaces the path of the request URL and store the
|
||||||
original path in an X-Replaced-Path header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepath/'
|
original path in an X-Replaced-Path header. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepath/'
|
||||||
properties:
|
properties:
|
||||||
path:
|
path:
|
||||||
description: Path defines the path to use as replacement in the
|
description: Path defines the path to use as replacement in the
|
||||||
|
@ -874,7 +874,7 @@ spec:
|
||||||
replacePathRegex:
|
replacePathRegex:
|
||||||
description: 'ReplacePathRegex holds the replace path regex middleware
|
description: 'ReplacePathRegex holds the replace path regex middleware
|
||||||
configuration. This middleware replaces the path of a URL using
|
configuration. This middleware replaces the path of a URL using
|
||||||
regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepathregex/'
|
regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepathregex/'
|
||||||
properties:
|
properties:
|
||||||
regex:
|
regex:
|
||||||
description: Regex defines the regular expression used to match
|
description: Regex defines the regular expression used to match
|
||||||
|
@ -890,7 +890,7 @@ spec:
|
||||||
middleware reissues requests a given number of times to a backend
|
middleware reissues requests a given number of times to a backend
|
||||||
server if that server does not reply. As soon as the server answers,
|
server if that server does not reply. As soon as the server answers,
|
||||||
the middleware stops retrying, regardless of the response status.
|
the middleware stops retrying, regardless of the response status.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/retry/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/retry/'
|
||||||
properties:
|
properties:
|
||||||
attempts:
|
attempts:
|
||||||
description: Attempts defines how many times the request should
|
description: Attempts defines how many times the request should
|
||||||
|
@ -910,7 +910,7 @@ spec:
|
||||||
stripPrefix:
|
stripPrefix:
|
||||||
description: 'StripPrefix holds the strip prefix middleware configuration.
|
description: 'StripPrefix holds the strip prefix middleware configuration.
|
||||||
This middleware removes the specified prefixes from the URL path.
|
This middleware removes the specified prefixes from the URL path.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefix/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefix/'
|
||||||
properties:
|
properties:
|
||||||
forceSlash:
|
forceSlash:
|
||||||
description: 'ForceSlash ensures that the resulting stripped path
|
description: 'ForceSlash ensures that the resulting stripped path
|
||||||
|
@ -927,7 +927,7 @@ spec:
|
||||||
stripPrefixRegex:
|
stripPrefixRegex:
|
||||||
description: 'StripPrefixRegex holds the strip prefix regex middleware
|
description: 'StripPrefixRegex holds the strip prefix regex middleware
|
||||||
configuration. This middleware removes the matching prefixes from
|
configuration. This middleware removes the matching prefixes from
|
||||||
the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefixregex/'
|
the URL path. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefixregex/'
|
||||||
properties:
|
properties:
|
||||||
regex:
|
regex:
|
||||||
description: Regex defines the regular expression to match the
|
description: Regex defines the regular expression to match the
|
||||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
description: 'MiddlewareTCP is the CRD implementation of a Traefik TCP middleware.
|
description: 'MiddlewareTCP is the CRD implementation of a Traefik TCP middleware.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/overview/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/overview/'
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
@ -48,7 +48,7 @@ spec:
|
||||||
ipAllowList:
|
ipAllowList:
|
||||||
description: 'IPAllowList defines the IPAllowList middleware configuration.
|
description: 'IPAllowList defines the IPAllowList middleware configuration.
|
||||||
This middleware accepts/refuses connections based on the client
|
This middleware accepts/refuses connections based on the client
|
||||||
IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/tcp/ipallowlist/'
|
IP. More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipallowlist/'
|
||||||
properties:
|
properties:
|
||||||
sourceRange:
|
sourceRange:
|
||||||
description: SourceRange defines the allowed IPs (or ranges of
|
description: SourceRange defines the allowed IPs (or ranges of
|
||||||
|
@ -60,7 +60,7 @@ spec:
|
||||||
ipWhiteList:
|
ipWhiteList:
|
||||||
description: 'IPWhiteList defines the IPWhiteList middleware configuration.
|
description: 'IPWhiteList defines the IPWhiteList middleware configuration.
|
||||||
This middleware accepts/refuses connections based on the client
|
This middleware accepts/refuses connections based on the client
|
||||||
IP. Deprecated: please use IPAllowList instead. More info: https://doc.traefik.io/traefik/v2.10/middlewares/tcp/ipwhitelist/'
|
IP. Deprecated: please use IPAllowList instead. More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipwhitelist/'
|
||||||
properties:
|
properties:
|
||||||
sourceRange:
|
sourceRange:
|
||||||
description: SourceRange defines the allowed IPs (or ranges of
|
description: SourceRange defines the allowed IPs (or ranges of
|
||||||
|
|
|
@ -20,7 +20,7 @@ spec:
|
||||||
description: 'ServersTransport is the CRD implementation of a ServersTransport.
|
description: 'ServersTransport is the CRD implementation of a ServersTransport.
|
||||||
If no serversTransport is specified, the default@internal will be used.
|
If no serversTransport is specified, the default@internal will be used.
|
||||||
The default@internal serversTransport is created from the static configuration.
|
The default@internal serversTransport is created from the static configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/services/#serverstransport_1'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/services/#serverstransport_1'
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
|
|
@ -19,7 +19,7 @@ spec:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
description: 'TLSOption is the CRD implementation of a Traefik TLS Option,
|
description: 'TLSOption is the CRD implementation of a Traefik TLS Option,
|
||||||
allowing to configure some parameters of the TLS connection. More info:
|
allowing to configure some parameters of the TLS connection. More info:
|
||||||
https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options'
|
https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options'
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
@ -39,13 +39,13 @@ spec:
|
||||||
alpnProtocols:
|
alpnProtocols:
|
||||||
description: 'ALPNProtocols defines the list of supported application
|
description: 'ALPNProtocols defines the list of supported application
|
||||||
level protocols for the TLS handshake, in order of preference. More
|
level protocols for the TLS handshake, in order of preference. More
|
||||||
info: https://doc.traefik.io/traefik/v2.10/https/tls/#alpn-protocols'
|
info: https://doc.traefik.io/traefik/v2.11/https/tls/#alpn-protocols'
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
cipherSuites:
|
cipherSuites:
|
||||||
description: 'CipherSuites defines the list of supported cipher suites
|
description: 'CipherSuites defines the list of supported cipher suites
|
||||||
for TLS versions up to TLS 1.2. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#cipher-suites'
|
for TLS versions up to TLS 1.2. More info: https://doc.traefik.io/traefik/v2.11/https/tls/#cipher-suites'
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
@ -72,7 +72,7 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
curvePreferences:
|
curvePreferences:
|
||||||
description: 'CurvePreferences defines the preferred elliptic curves
|
description: 'CurvePreferences defines the preferred elliptic curves
|
||||||
in a specific order. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#curve-preferences'
|
in a specific order. More info: https://doc.traefik.io/traefik/v2.11/https/tls/#curve-preferences'
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
|
|
@ -20,7 +20,7 @@ spec:
|
||||||
description: 'TLSStore is the CRD implementation of a Traefik TLS Store. For
|
description: 'TLSStore is the CRD implementation of a Traefik TLS Store. For
|
||||||
the time being, only the TLSStore named default is supported. This means
|
the time being, only the TLSStore named default is supported. This means
|
||||||
that you cannot have two stores that are named default in different Kubernetes
|
that you cannot have two stores that are named default in different Kubernetes
|
||||||
namespaces. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#certificates-stores'
|
namespaces. More info: https://doc.traefik.io/traefik/v2.11/https/tls/#certificates-stores'
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
|
|
@ -19,7 +19,7 @@ spec:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
description: 'TraefikService is the CRD implementation of a Traefik Service.
|
description: 'TraefikService is the CRD implementation of a Traefik Service.
|
||||||
TraefikService object allows to: - Apply weight to Services on load-balancing
|
TraefikService object allows to: - Apply weight to Services on load-balancing
|
||||||
- Mirror traffic on services More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-traefikservice'
|
- Mirror traffic on services More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-traefikservice'
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
@ -125,7 +125,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
sticky:
|
sticky:
|
||||||
description: 'Sticky defines the sticky sessions configuration.
|
description: 'Sticky defines the sticky sessions configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions'
|
||||||
properties:
|
properties:
|
||||||
cookie:
|
cookie:
|
||||||
description: Cookie defines the sticky cookie configuration.
|
description: Cookie defines the sticky cookie configuration.
|
||||||
|
@ -216,7 +216,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
sticky:
|
sticky:
|
||||||
description: 'Sticky defines the sticky sessions configuration.
|
description: 'Sticky defines the sticky sessions configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions'
|
||||||
properties:
|
properties:
|
||||||
cookie:
|
cookie:
|
||||||
description: Cookie defines the sticky cookie configuration.
|
description: Cookie defines the sticky cookie configuration.
|
||||||
|
@ -323,7 +323,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
sticky:
|
sticky:
|
||||||
description: 'Sticky defines the sticky sessions configuration.
|
description: 'Sticky defines the sticky sessions configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions'
|
||||||
properties:
|
properties:
|
||||||
cookie:
|
cookie:
|
||||||
description: Cookie defines the sticky cookie configuration.
|
description: Cookie defines the sticky cookie configuration.
|
||||||
|
@ -362,7 +362,7 @@ spec:
|
||||||
type: array
|
type: array
|
||||||
sticky:
|
sticky:
|
||||||
description: 'Sticky defines whether sticky sessions are enabled.
|
description: 'Sticky defines whether sticky sessions are enabled.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#stickiness-and-load-balancing'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#stickiness-and-load-balancing'
|
||||||
properties:
|
properties:
|
||||||
cookie:
|
cookie:
|
||||||
description: Cookie defines the sticky cookie configuration.
|
description: Cookie defines the sticky cookie configuration.
|
||||||
|
|
|
@ -37,7 +37,7 @@ spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
description: 'EntryPoints defines the list of entry point names to
|
description: 'EntryPoints defines the list of entry point names to
|
||||||
bind to. Entry points have to be configured in the static configuration.
|
bind to. Entry points have to be configured in the static configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/
|
More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||||
Default: all.'
|
Default: all.'
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
@ -54,11 +54,11 @@ spec:
|
||||||
- Rule
|
- Rule
|
||||||
type: string
|
type: string
|
||||||
match:
|
match:
|
||||||
description: 'Match defines the router''s rule. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule'
|
description: 'Match defines the router''s rule. More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#rule'
|
||||||
type: string
|
type: string
|
||||||
middlewares:
|
middlewares:
|
||||||
description: 'Middlewares defines the list of references to
|
description: 'Middlewares defines the list of references to
|
||||||
Middleware resources. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-middleware'
|
Middleware resources. More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-middleware'
|
||||||
items:
|
items:
|
||||||
description: MiddlewareRef is a reference to a Middleware
|
description: MiddlewareRef is a reference to a Middleware
|
||||||
resource.
|
resource.
|
||||||
|
@ -77,7 +77,7 @@ spec:
|
||||||
type: array
|
type: array
|
||||||
priority:
|
priority:
|
||||||
description: 'Priority defines the router''s priority. More
|
description: 'Priority defines the router''s priority. More
|
||||||
info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority'
|
info: https://doc.traefik.io/traefik/v2.11/routing/routers/#priority'
|
||||||
type: integer
|
type: integer
|
||||||
services:
|
services:
|
||||||
description: Services defines the list of Service. It can contain
|
description: Services defines the list of Service. It can contain
|
||||||
|
@ -150,7 +150,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
sticky:
|
sticky:
|
||||||
description: 'Sticky defines the sticky sessions configuration.
|
description: 'Sticky defines the sticky sessions configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions'
|
||||||
properties:
|
properties:
|
||||||
cookie:
|
cookie:
|
||||||
description: Cookie defines the sticky cookie configuration.
|
description: Cookie defines the sticky cookie configuration.
|
||||||
|
@ -195,16 +195,16 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
type: array
|
type: array
|
||||||
tls:
|
tls:
|
||||||
description: 'TLS defines the TLS configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls'
|
description: 'TLS defines the TLS configuration. More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls'
|
||||||
properties:
|
properties:
|
||||||
certResolver:
|
certResolver:
|
||||||
description: 'CertResolver defines the name of the certificate
|
description: 'CertResolver defines the name of the certificate
|
||||||
resolver to use. Cert resolvers have to be configured in the
|
resolver to use. Cert resolvers have to be configured in the
|
||||||
static configuration. More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers'
|
static configuration. More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers'
|
||||||
type: string
|
type: string
|
||||||
domains:
|
domains:
|
||||||
description: 'Domains defines the list of domains that will be
|
description: 'Domains defines the list of domains that will be
|
||||||
used to issue certificates. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains'
|
used to issue certificates. More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains'
|
||||||
items:
|
items:
|
||||||
description: Domain holds a domain name with SANs.
|
description: Domain holds a domain name with SANs.
|
||||||
properties:
|
properties:
|
||||||
|
@ -222,15 +222,15 @@ spec:
|
||||||
options:
|
options:
|
||||||
description: 'Options defines the reference to a TLSOption, that
|
description: 'Options defines the reference to a TLSOption, that
|
||||||
specifies the parameters of the TLS connection. If not defined,
|
specifies the parameters of the TLS connection. If not defined,
|
||||||
the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options'
|
the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options'
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
description: 'Name defines the name of the referenced TLSOption.
|
description: 'Name defines the name of the referenced TLSOption.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption'
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace defines the namespace of the referenced
|
description: 'Namespace defines the namespace of the referenced
|
||||||
TLSOption. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption'
|
TLSOption. More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption'
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- name
|
- name
|
||||||
|
@ -246,11 +246,11 @@ spec:
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
description: 'Name defines the name of the referenced TLSStore.
|
description: 'Name defines the name of the referenced TLSStore.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore'
|
||||||
type: string
|
type: string
|
||||||
namespace:
|
namespace:
|
||||||
description: 'Namespace defines the namespace of the referenced
|
description: 'Namespace defines the namespace of the referenced
|
||||||
TLSStore. More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore'
|
TLSStore. More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore'
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- name
|
- name
|
||||||
|
|
|
@ -37,7 +37,7 @@ spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
description: 'EntryPoints defines the list of entry point names to
|
description: 'EntryPoints defines the list of entry point names to
|
||||||
bind to. Entry points have to be configured in the static configuration.
|
bind to. Entry points have to be configured in the static configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/
|
More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||||
Default: all.'
|
Default: all.'
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
@ -48,7 +48,7 @@ spec:
|
||||||
description: RouteTCP holds the TCP route configuration.
|
description: RouteTCP holds the TCP route configuration.
|
||||||
properties:
|
properties:
|
||||||
match:
|
match:
|
||||||
description: 'Match defines the router''s rule. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule_1'
|
description: 'Match defines the router''s rule. More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#rule_1'
|
||||||
type: string
|
type: string
|
||||||
middlewares:
|
middlewares:
|
||||||
description: Middlewares defines the list of references to MiddlewareTCP
|
description: Middlewares defines the list of references to MiddlewareTCP
|
||||||
|
@ -71,7 +71,7 @@ spec:
|
||||||
type: array
|
type: array
|
||||||
priority:
|
priority:
|
||||||
description: 'Priority defines the router''s priority. More
|
description: 'Priority defines the router''s priority. More
|
||||||
info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority_1'
|
info: https://doc.traefik.io/traefik/v2.11/routing/routers/#priority_1'
|
||||||
type: integer
|
type: integer
|
||||||
services:
|
services:
|
||||||
description: Services defines the list of TCP services.
|
description: Services defines the list of TCP services.
|
||||||
|
@ -103,7 +103,7 @@ spec:
|
||||||
x-kubernetes-int-or-string: true
|
x-kubernetes-int-or-string: true
|
||||||
proxyProtocol:
|
proxyProtocol:
|
||||||
description: 'ProxyProtocol defines the PROXY protocol
|
description: 'ProxyProtocol defines the PROXY protocol
|
||||||
configuration. More info: https://doc.traefik.io/traefik/v2.10/routing/services/#proxy-protocol'
|
configuration. More info: https://doc.traefik.io/traefik/v2.11/routing/services/#proxy-protocol'
|
||||||
properties:
|
properties:
|
||||||
version:
|
version:
|
||||||
description: Version defines the PROXY Protocol version
|
description: Version defines the PROXY Protocol version
|
||||||
|
@ -134,16 +134,16 @@ spec:
|
||||||
type: array
|
type: array
|
||||||
tls:
|
tls:
|
||||||
description: 'TLS defines the TLS configuration on a layer 4 / TCP
|
description: 'TLS defines the TLS configuration on a layer 4 / TCP
|
||||||
Route. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls_1'
|
Route. More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls_1'
|
||||||
properties:
|
properties:
|
||||||
certResolver:
|
certResolver:
|
||||||
description: 'CertResolver defines the name of the certificate
|
description: 'CertResolver defines the name of the certificate
|
||||||
resolver to use. Cert resolvers have to be configured in the
|
resolver to use. Cert resolvers have to be configured in the
|
||||||
static configuration. More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers'
|
static configuration. More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers'
|
||||||
type: string
|
type: string
|
||||||
domains:
|
domains:
|
||||||
description: 'Domains defines the list of domains that will be
|
description: 'Domains defines the list of domains that will be
|
||||||
used to issue certificates. More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains'
|
used to issue certificates. More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains'
|
||||||
items:
|
items:
|
||||||
description: Domain holds a domain name with SANs.
|
description: Domain holds a domain name with SANs.
|
||||||
properties:
|
properties:
|
||||||
|
@ -161,7 +161,7 @@ spec:
|
||||||
options:
|
options:
|
||||||
description: 'Options defines the reference to a TLSOption, that
|
description: 'Options defines the reference to a TLSOption, that
|
||||||
specifies the parameters of the TLS connection. If not defined,
|
specifies the parameters of the TLS connection. If not defined,
|
||||||
the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options'
|
the `default` TLSOption is used. More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options'
|
||||||
properties:
|
properties:
|
||||||
name:
|
name:
|
||||||
description: Name defines the name of the referenced Traefik
|
description: Name defines the name of the referenced Traefik
|
||||||
|
|
|
@ -37,7 +37,7 @@ spec:
|
||||||
entryPoints:
|
entryPoints:
|
||||||
description: 'EntryPoints defines the list of entry point names to
|
description: 'EntryPoints defines the list of entry point names to
|
||||||
bind to. Entry points have to be configured in the static configuration.
|
bind to. Entry points have to be configured in the static configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/
|
More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||||
Default: all.'
|
Default: all.'
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
description: 'Middleware is the CRD implementation of a Traefik Middleware.
|
description: 'Middleware is the CRD implementation of a Traefik Middleware.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/overview/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/overview/'
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
@ -38,7 +38,7 @@ spec:
|
||||||
addPrefix:
|
addPrefix:
|
||||||
description: 'AddPrefix holds the add prefix middleware configuration.
|
description: 'AddPrefix holds the add prefix middleware configuration.
|
||||||
This middleware updates the path of a request before forwarding
|
This middleware updates the path of a request before forwarding
|
||||||
it. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/addprefix/'
|
it. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/addprefix/'
|
||||||
properties:
|
properties:
|
||||||
prefix:
|
prefix:
|
||||||
description: Prefix is the string to add before the current path
|
description: Prefix is the string to add before the current path
|
||||||
|
@ -48,11 +48,11 @@ spec:
|
||||||
basicAuth:
|
basicAuth:
|
||||||
description: 'BasicAuth holds the basic auth middleware configuration.
|
description: 'BasicAuth holds the basic auth middleware configuration.
|
||||||
This middleware restricts access to your services to known users.
|
This middleware restricts access to your services to known users.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/'
|
||||||
properties:
|
properties:
|
||||||
headerField:
|
headerField:
|
||||||
description: 'HeaderField defines a header field to store the
|
description: 'HeaderField defines a header field to store the
|
||||||
authenticated user. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield'
|
authenticated user. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield'
|
||||||
type: string
|
type: string
|
||||||
realm:
|
realm:
|
||||||
description: 'Realm allows the protected resources on a server
|
description: 'Realm allows the protected resources on a server
|
||||||
|
@ -72,7 +72,7 @@ spec:
|
||||||
buffering:
|
buffering:
|
||||||
description: 'Buffering holds the buffering middleware configuration.
|
description: 'Buffering holds the buffering middleware configuration.
|
||||||
This middleware retries or limits the size of requests that can
|
This middleware retries or limits the size of requests that can
|
||||||
be forwarded to backends. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#maxrequestbodybytes'
|
be forwarded to backends. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#maxrequestbodybytes'
|
||||||
properties:
|
properties:
|
||||||
maxRequestBodyBytes:
|
maxRequestBodyBytes:
|
||||||
description: 'MaxRequestBodyBytes defines the maximum allowed
|
description: 'MaxRequestBodyBytes defines the maximum allowed
|
||||||
|
@ -105,13 +105,13 @@ spec:
|
||||||
retryExpression:
|
retryExpression:
|
||||||
description: 'RetryExpression defines the retry conditions. It
|
description: 'RetryExpression defines the retry conditions. It
|
||||||
is a logical combination of functions with operators AND (&&)
|
is a logical combination of functions with operators AND (&&)
|
||||||
and OR (||). More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#retryexpression'
|
and OR (||). More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#retryexpression'
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
chain:
|
chain:
|
||||||
description: 'Chain holds the configuration of the chain middleware.
|
description: 'Chain holds the configuration of the chain middleware.
|
||||||
This middleware enables to define reusable combinations of other
|
This middleware enables to define reusable combinations of other
|
||||||
pieces of middleware. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/chain/'
|
pieces of middleware. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/chain/'
|
||||||
properties:
|
properties:
|
||||||
middlewares:
|
middlewares:
|
||||||
description: Middlewares is the list of MiddlewareRef which composes
|
description: Middlewares is the list of MiddlewareRef which composes
|
||||||
|
@ -165,7 +165,7 @@ spec:
|
||||||
compress:
|
compress:
|
||||||
description: 'Compress holds the compress middleware configuration.
|
description: 'Compress holds the compress middleware configuration.
|
||||||
This middleware compresses responses before sending them to the
|
This middleware compresses responses before sending them to the
|
||||||
client, using gzip compression. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/compress/'
|
client, using gzip compression. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/compress/'
|
||||||
properties:
|
properties:
|
||||||
excludedContentTypes:
|
excludedContentTypes:
|
||||||
description: ExcludedContentTypes defines the list of content
|
description: ExcludedContentTypes defines the list of content
|
||||||
|
@ -199,11 +199,11 @@ spec:
|
||||||
digestAuth:
|
digestAuth:
|
||||||
description: 'DigestAuth holds the digest auth middleware configuration.
|
description: 'DigestAuth holds the digest auth middleware configuration.
|
||||||
This middleware restricts access to your services to known users.
|
This middleware restricts access to your services to known users.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/digestauth/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/digestauth/'
|
||||||
properties:
|
properties:
|
||||||
headerField:
|
headerField:
|
||||||
description: 'HeaderField defines a header field to store the
|
description: 'HeaderField defines a header field to store the
|
||||||
authenticated user. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield'
|
authenticated user. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield'
|
||||||
type: string
|
type: string
|
||||||
realm:
|
realm:
|
||||||
description: 'Realm allows the protected resources on a server
|
description: 'Realm allows the protected resources on a server
|
||||||
|
@ -222,7 +222,7 @@ spec:
|
||||||
errors:
|
errors:
|
||||||
description: 'ErrorPage holds the custom error middleware configuration.
|
description: 'ErrorPage holds the custom error middleware configuration.
|
||||||
This middleware returns a custom page in lieu of the default, according
|
This middleware returns a custom page in lieu of the default, according
|
||||||
to configured ranges of HTTP Status codes. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/'
|
to configured ranges of HTTP Status codes. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/'
|
||||||
properties:
|
properties:
|
||||||
query:
|
query:
|
||||||
description: Query defines the URL for the error page (hosted
|
description: Query defines the URL for the error page (hosted
|
||||||
|
@ -231,7 +231,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
service:
|
service:
|
||||||
description: 'Service defines the reference to a Kubernetes Service
|
description: 'Service defines the reference to a Kubernetes Service
|
||||||
that will serve the error page. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/#service'
|
that will serve the error page. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/#service'
|
||||||
properties:
|
properties:
|
||||||
kind:
|
kind:
|
||||||
description: Kind defines the kind of the Service.
|
description: Kind defines the kind of the Service.
|
||||||
|
@ -295,7 +295,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
sticky:
|
sticky:
|
||||||
description: 'Sticky defines the sticky sessions configuration.
|
description: 'Sticky defines the sticky sessions configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions'
|
||||||
properties:
|
properties:
|
||||||
cookie:
|
cookie:
|
||||||
description: Cookie defines the sticky cookie configuration.
|
description: Cookie defines the sticky cookie configuration.
|
||||||
|
@ -344,7 +344,7 @@ spec:
|
||||||
forwardAuth:
|
forwardAuth:
|
||||||
description: 'ForwardAuth holds the forward auth middleware configuration.
|
description: 'ForwardAuth holds the forward auth middleware configuration.
|
||||||
This middleware delegates the request authentication to a Service.
|
This middleware delegates the request authentication to a Service.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/'
|
||||||
properties:
|
properties:
|
||||||
address:
|
address:
|
||||||
description: Address defines the authentication server address.
|
description: Address defines the authentication server address.
|
||||||
|
@ -367,7 +367,7 @@ spec:
|
||||||
description: 'AuthResponseHeadersRegex defines the regex to match
|
description: 'AuthResponseHeadersRegex defines the regex to match
|
||||||
headers to copy from the authentication server response and
|
headers to copy from the authentication server response and
|
||||||
set on forwarded request, after stripping all headers that match
|
set on forwarded request, after stripping all headers that match
|
||||||
the regex. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/#authresponseheadersregex'
|
the regex. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/#authresponseheadersregex'
|
||||||
type: string
|
type: string
|
||||||
tls:
|
tls:
|
||||||
description: TLS defines the configuration used to secure the
|
description: TLS defines the configuration used to secure the
|
||||||
|
@ -398,7 +398,7 @@ spec:
|
||||||
headers:
|
headers:
|
||||||
description: 'Headers holds the headers middleware configuration.
|
description: 'Headers holds the headers middleware configuration.
|
||||||
This middleware manages the requests and responses headers. More
|
This middleware manages the requests and responses headers. More
|
||||||
info: https://doc.traefik.io/traefik/v2.10/middlewares/http/headers/#customrequestheaders'
|
info: https://doc.traefik.io/traefik/v2.11/middlewares/http/headers/#customrequestheaders'
|
||||||
properties:
|
properties:
|
||||||
accessControlAllowCredentials:
|
accessControlAllowCredentials:
|
||||||
description: AccessControlAllowCredentials defines whether the
|
description: AccessControlAllowCredentials defines whether the
|
||||||
|
@ -559,7 +559,7 @@ spec:
|
||||||
inFlightReq:
|
inFlightReq:
|
||||||
description: 'InFlightReq holds the in-flight request middleware configuration.
|
description: 'InFlightReq holds the in-flight request middleware configuration.
|
||||||
This middleware limits the number of requests being processed and
|
This middleware limits the number of requests being processed and
|
||||||
served concurrently. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/'
|
served concurrently. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/'
|
||||||
properties:
|
properties:
|
||||||
amount:
|
amount:
|
||||||
description: Amount defines the maximum amount of allowed simultaneous
|
description: Amount defines the maximum amount of allowed simultaneous
|
||||||
|
@ -573,11 +573,11 @@ spec:
|
||||||
group requests as originating from a common source. If several
|
group requests as originating from a common source. If several
|
||||||
strategies are defined at the same time, an error will be raised.
|
strategies are defined at the same time, an error will be raised.
|
||||||
If none are set, the default is to use the requestHost. More
|
If none are set, the default is to use the requestHost. More
|
||||||
info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/#sourcecriterion'
|
info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/#sourcecriterion'
|
||||||
properties:
|
properties:
|
||||||
ipStrategy:
|
ipStrategy:
|
||||||
description: 'IPStrategy holds the IP strategy configuration
|
description: 'IPStrategy holds the IP strategy configuration
|
||||||
used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipallowlist/#ipstrategy'
|
used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy'
|
||||||
properties:
|
properties:
|
||||||
depth:
|
depth:
|
||||||
description: Depth tells Traefik to use the X-Forwarded-For
|
description: Depth tells Traefik to use the X-Forwarded-For
|
||||||
|
@ -605,11 +605,11 @@ spec:
|
||||||
ipAllowList:
|
ipAllowList:
|
||||||
description: 'IPAllowList holds the IP allowlist middleware configuration.
|
description: 'IPAllowList holds the IP allowlist middleware configuration.
|
||||||
This middleware accepts / refuses requests based on the client IP.
|
This middleware accepts / refuses requests based on the client IP.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipallowlist/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/'
|
||||||
properties:
|
properties:
|
||||||
ipStrategy:
|
ipStrategy:
|
||||||
description: 'IPStrategy holds the IP strategy configuration used
|
description: 'IPStrategy holds the IP strategy configuration used
|
||||||
by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipallowlist/#ipstrategy'
|
by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy'
|
||||||
properties:
|
properties:
|
||||||
depth:
|
depth:
|
||||||
description: Depth tells Traefik to use the X-Forwarded-For
|
description: Depth tells Traefik to use the X-Forwarded-For
|
||||||
|
@ -633,12 +633,12 @@ spec:
|
||||||
ipWhiteList:
|
ipWhiteList:
|
||||||
description: 'IPWhiteList holds the IP whitelist middleware configuration.
|
description: 'IPWhiteList holds the IP whitelist middleware configuration.
|
||||||
This middleware accepts / refuses requests based on the client IP.
|
This middleware accepts / refuses requests based on the client IP.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipwhitelist/
|
||||||
Deprecated: please use IPAllowList instead.'
|
Deprecated: please use IPAllowList instead.'
|
||||||
properties:
|
properties:
|
||||||
ipStrategy:
|
ipStrategy:
|
||||||
description: 'IPStrategy holds the IP strategy configuration used
|
description: 'IPStrategy holds the IP strategy configuration used
|
||||||
by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipallowlist/#ipstrategy'
|
by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy'
|
||||||
properties:
|
properties:
|
||||||
depth:
|
depth:
|
||||||
description: Depth tells Traefik to use the X-Forwarded-For
|
description: Depth tells Traefik to use the X-Forwarded-For
|
||||||
|
@ -662,7 +662,7 @@ spec:
|
||||||
passTLSClientCert:
|
passTLSClientCert:
|
||||||
description: 'PassTLSClientCert holds the pass TLS client cert middleware
|
description: 'PassTLSClientCert holds the pass TLS client cert middleware
|
||||||
configuration. This middleware adds the selected data from the passed
|
configuration. This middleware adds the selected data from the passed
|
||||||
client TLS certificate to a header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/passtlsclientcert/'
|
client TLS certificate to a header. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/passtlsclientcert/'
|
||||||
properties:
|
properties:
|
||||||
info:
|
info:
|
||||||
description: Info selects the specific client certificate details
|
description: Info selects the specific client certificate details
|
||||||
|
@ -769,7 +769,7 @@ spec:
|
||||||
rateLimit:
|
rateLimit:
|
||||||
description: 'RateLimit holds the rate limit configuration. This middleware
|
description: 'RateLimit holds the rate limit configuration. This middleware
|
||||||
ensures that services will receive a fair amount of requests, and
|
ensures that services will receive a fair amount of requests, and
|
||||||
allows one to define what fair is. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ratelimit/'
|
allows one to define what fair is. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ratelimit/'
|
||||||
properties:
|
properties:
|
||||||
average:
|
average:
|
||||||
description: Average is the maximum rate, by default in requests/s,
|
description: Average is the maximum rate, by default in requests/s,
|
||||||
|
@ -802,7 +802,7 @@ spec:
|
||||||
properties:
|
properties:
|
||||||
ipStrategy:
|
ipStrategy:
|
||||||
description: 'IPStrategy holds the IP strategy configuration
|
description: 'IPStrategy holds the IP strategy configuration
|
||||||
used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipallowlist/#ipstrategy'
|
used by Traefik to determine the client IP. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy'
|
||||||
properties:
|
properties:
|
||||||
depth:
|
depth:
|
||||||
description: Depth tells Traefik to use the X-Forwarded-For
|
description: Depth tells Traefik to use the X-Forwarded-For
|
||||||
|
@ -830,7 +830,7 @@ spec:
|
||||||
redirectRegex:
|
redirectRegex:
|
||||||
description: 'RedirectRegex holds the redirect regex middleware configuration.
|
description: 'RedirectRegex holds the redirect regex middleware configuration.
|
||||||
This middleware redirects a request using regex matching and replacement.
|
This middleware redirects a request using regex matching and replacement.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectregex/#regex'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectregex/#regex'
|
||||||
properties:
|
properties:
|
||||||
permanent:
|
permanent:
|
||||||
description: Permanent defines whether the redirection is permanent
|
description: Permanent defines whether the redirection is permanent
|
||||||
|
@ -848,7 +848,7 @@ spec:
|
||||||
redirectScheme:
|
redirectScheme:
|
||||||
description: 'RedirectScheme holds the redirect scheme middleware
|
description: 'RedirectScheme holds the redirect scheme middleware
|
||||||
configuration. This middleware redirects requests from a scheme/port
|
configuration. This middleware redirects requests from a scheme/port
|
||||||
to another. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectscheme/'
|
to another. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectscheme/'
|
||||||
properties:
|
properties:
|
||||||
permanent:
|
permanent:
|
||||||
description: Permanent defines whether the redirection is permanent
|
description: Permanent defines whether the redirection is permanent
|
||||||
|
@ -864,7 +864,7 @@ spec:
|
||||||
replacePath:
|
replacePath:
|
||||||
description: 'ReplacePath holds the replace path middleware configuration.
|
description: 'ReplacePath holds the replace path middleware configuration.
|
||||||
This middleware replaces the path of the request URL and store the
|
This middleware replaces the path of the request URL and store the
|
||||||
original path in an X-Replaced-Path header. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepath/'
|
original path in an X-Replaced-Path header. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepath/'
|
||||||
properties:
|
properties:
|
||||||
path:
|
path:
|
||||||
description: Path defines the path to use as replacement in the
|
description: Path defines the path to use as replacement in the
|
||||||
|
@ -874,7 +874,7 @@ spec:
|
||||||
replacePathRegex:
|
replacePathRegex:
|
||||||
description: 'ReplacePathRegex holds the replace path regex middleware
|
description: 'ReplacePathRegex holds the replace path regex middleware
|
||||||
configuration. This middleware replaces the path of a URL using
|
configuration. This middleware replaces the path of a URL using
|
||||||
regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepathregex/'
|
regex matching and replacement. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepathregex/'
|
||||||
properties:
|
properties:
|
||||||
regex:
|
regex:
|
||||||
description: Regex defines the regular expression used to match
|
description: Regex defines the regular expression used to match
|
||||||
|
@ -890,7 +890,7 @@ spec:
|
||||||
middleware reissues requests a given number of times to a backend
|
middleware reissues requests a given number of times to a backend
|
||||||
server if that server does not reply. As soon as the server answers,
|
server if that server does not reply. As soon as the server answers,
|
||||||
the middleware stops retrying, regardless of the response status.
|
the middleware stops retrying, regardless of the response status.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/retry/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/retry/'
|
||||||
properties:
|
properties:
|
||||||
attempts:
|
attempts:
|
||||||
description: Attempts defines how many times the request should
|
description: Attempts defines how many times the request should
|
||||||
|
@ -910,7 +910,7 @@ spec:
|
||||||
stripPrefix:
|
stripPrefix:
|
||||||
description: 'StripPrefix holds the strip prefix middleware configuration.
|
description: 'StripPrefix holds the strip prefix middleware configuration.
|
||||||
This middleware removes the specified prefixes from the URL path.
|
This middleware removes the specified prefixes from the URL path.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefix/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefix/'
|
||||||
properties:
|
properties:
|
||||||
forceSlash:
|
forceSlash:
|
||||||
description: 'ForceSlash ensures that the resulting stripped path
|
description: 'ForceSlash ensures that the resulting stripped path
|
||||||
|
@ -927,7 +927,7 @@ spec:
|
||||||
stripPrefixRegex:
|
stripPrefixRegex:
|
||||||
description: 'StripPrefixRegex holds the strip prefix regex middleware
|
description: 'StripPrefixRegex holds the strip prefix regex middleware
|
||||||
configuration. This middleware removes the matching prefixes from
|
configuration. This middleware removes the matching prefixes from
|
||||||
the URL path. More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefixregex/'
|
the URL path. More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefixregex/'
|
||||||
properties:
|
properties:
|
||||||
regex:
|
regex:
|
||||||
description: Regex defines the regular expression to match the
|
description: Regex defines the regular expression to match the
|
||||||
|
|
|
@ -18,7 +18,7 @@ spec:
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
description: 'MiddlewareTCP is the CRD implementation of a Traefik TCP middleware.
|
description: 'MiddlewareTCP is the CRD implementation of a Traefik TCP middleware.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/middlewares/overview/'
|
More info: https://doc.traefik.io/traefik/v2.11/middlewares/overview/'
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
@ -48,7 +48,7 @@ spec:
|
||||||
ipAllowList:
|
ipAllowList:
|
||||||
description: 'IPAllowList defines the IPAllowList middleware configuration.
|
description: 'IPAllowList defines the IPAllowList middleware configuration.
|
||||||
This middleware accepts/refuses connections based on the client
|
This middleware accepts/refuses connections based on the client
|
||||||
IP. More info: https://doc.traefik.io/traefik/v2.10/middlewares/tcp/ipallowlist/'
|
IP. More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipallowlist/'
|
||||||
properties:
|
properties:
|
||||||
sourceRange:
|
sourceRange:
|
||||||
description: SourceRange defines the allowed IPs (or ranges of
|
description: SourceRange defines the allowed IPs (or ranges of
|
||||||
|
@ -60,7 +60,7 @@ spec:
|
||||||
ipWhiteList:
|
ipWhiteList:
|
||||||
description: 'IPWhiteList defines the IPWhiteList middleware configuration.
|
description: 'IPWhiteList defines the IPWhiteList middleware configuration.
|
||||||
This middleware accepts/refuses connections based on the client
|
This middleware accepts/refuses connections based on the client
|
||||||
IP. Deprecated: please use IPAllowList instead. More info: https://doc.traefik.io/traefik/v2.10/middlewares/tcp/ipwhitelist/'
|
IP. Deprecated: please use IPAllowList instead. More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipwhitelist/'
|
||||||
properties:
|
properties:
|
||||||
sourceRange:
|
sourceRange:
|
||||||
description: SourceRange defines the allowed IPs (or ranges of
|
description: SourceRange defines the allowed IPs (or ranges of
|
||||||
|
|
|
@ -20,7 +20,7 @@ spec:
|
||||||
description: 'ServersTransport is the CRD implementation of a ServersTransport.
|
description: 'ServersTransport is the CRD implementation of a ServersTransport.
|
||||||
If no serversTransport is specified, the default@internal will be used.
|
If no serversTransport is specified, the default@internal will be used.
|
||||||
The default@internal serversTransport is created from the static configuration.
|
The default@internal serversTransport is created from the static configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/services/#serverstransport_1'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/services/#serverstransport_1'
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
|
|
@ -19,7 +19,7 @@ spec:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
description: 'TLSOption is the CRD implementation of a Traefik TLS Option,
|
description: 'TLSOption is the CRD implementation of a Traefik TLS Option,
|
||||||
allowing to configure some parameters of the TLS connection. More info:
|
allowing to configure some parameters of the TLS connection. More info:
|
||||||
https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options'
|
https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options'
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
@ -39,13 +39,13 @@ spec:
|
||||||
alpnProtocols:
|
alpnProtocols:
|
||||||
description: 'ALPNProtocols defines the list of supported application
|
description: 'ALPNProtocols defines the list of supported application
|
||||||
level protocols for the TLS handshake, in order of preference. More
|
level protocols for the TLS handshake, in order of preference. More
|
||||||
info: https://doc.traefik.io/traefik/v2.10/https/tls/#alpn-protocols'
|
info: https://doc.traefik.io/traefik/v2.11/https/tls/#alpn-protocols'
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
cipherSuites:
|
cipherSuites:
|
||||||
description: 'CipherSuites defines the list of supported cipher suites
|
description: 'CipherSuites defines the list of supported cipher suites
|
||||||
for TLS versions up to TLS 1.2. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#cipher-suites'
|
for TLS versions up to TLS 1.2. More info: https://doc.traefik.io/traefik/v2.11/https/tls/#cipher-suites'
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
@ -72,7 +72,7 @@ spec:
|
||||||
type: object
|
type: object
|
||||||
curvePreferences:
|
curvePreferences:
|
||||||
description: 'CurvePreferences defines the preferred elliptic curves
|
description: 'CurvePreferences defines the preferred elliptic curves
|
||||||
in a specific order. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#curve-preferences'
|
in a specific order. More info: https://doc.traefik.io/traefik/v2.11/https/tls/#curve-preferences'
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
type: array
|
type: array
|
||||||
|
|
|
@ -20,7 +20,7 @@ spec:
|
||||||
description: 'TLSStore is the CRD implementation of a Traefik TLS Store. For
|
description: 'TLSStore is the CRD implementation of a Traefik TLS Store. For
|
||||||
the time being, only the TLSStore named default is supported. This means
|
the time being, only the TLSStore named default is supported. This means
|
||||||
that you cannot have two stores that are named default in different Kubernetes
|
that you cannot have two stores that are named default in different Kubernetes
|
||||||
namespaces. More info: https://doc.traefik.io/traefik/v2.10/https/tls/#certificates-stores'
|
namespaces. More info: https://doc.traefik.io/traefik/v2.11/https/tls/#certificates-stores'
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
|
|
@ -19,7 +19,7 @@ spec:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
description: 'TraefikService is the CRD implementation of a Traefik Service.
|
description: 'TraefikService is the CRD implementation of a Traefik Service.
|
||||||
TraefikService object allows to: - Apply weight to Services on load-balancing
|
TraefikService object allows to: - Apply weight to Services on load-balancing
|
||||||
- Mirror traffic on services More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-traefikservice'
|
- Mirror traffic on services More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-traefikservice'
|
||||||
properties:
|
properties:
|
||||||
apiVersion:
|
apiVersion:
|
||||||
description: 'APIVersion defines the versioned schema of this representation
|
description: 'APIVersion defines the versioned schema of this representation
|
||||||
|
@ -125,7 +125,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
sticky:
|
sticky:
|
||||||
description: 'Sticky defines the sticky sessions configuration.
|
description: 'Sticky defines the sticky sessions configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions'
|
||||||
properties:
|
properties:
|
||||||
cookie:
|
cookie:
|
||||||
description: Cookie defines the sticky cookie configuration.
|
description: Cookie defines the sticky cookie configuration.
|
||||||
|
@ -216,7 +216,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
sticky:
|
sticky:
|
||||||
description: 'Sticky defines the sticky sessions configuration.
|
description: 'Sticky defines the sticky sessions configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions'
|
||||||
properties:
|
properties:
|
||||||
cookie:
|
cookie:
|
||||||
description: Cookie defines the sticky cookie configuration.
|
description: Cookie defines the sticky cookie configuration.
|
||||||
|
@ -323,7 +323,7 @@ spec:
|
||||||
type: string
|
type: string
|
||||||
sticky:
|
sticky:
|
||||||
description: 'Sticky defines the sticky sessions configuration.
|
description: 'Sticky defines the sticky sessions configuration.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions'
|
||||||
properties:
|
properties:
|
||||||
cookie:
|
cookie:
|
||||||
description: Cookie defines the sticky cookie configuration.
|
description: Cookie defines the sticky cookie configuration.
|
||||||
|
@ -362,7 +362,7 @@ spec:
|
||||||
type: array
|
type: array
|
||||||
sticky:
|
sticky:
|
||||||
description: 'Sticky defines whether sticky sessions are enabled.
|
description: 'Sticky defines whether sticky sessions are enabled.
|
||||||
More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#stickiness-and-load-balancing'
|
More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#stickiness-and-load-balancing'
|
||||||
properties:
|
properties:
|
||||||
cookie:
|
cookie:
|
||||||
description: Cookie defines the sticky cookie configuration.
|
description: Cookie defines the sticky cookie configuration.
|
||||||
|
|
|
@ -48,7 +48,7 @@ The Kubernetes Ingress Controller, The Custom Resource Way.
|
||||||
serviceAccountName: traefik-ingress-controller
|
serviceAccountName: traefik-ingress-controller
|
||||||
containers:
|
containers:
|
||||||
- name: traefik
|
- name: traefik
|
||||||
image: traefik:v2.10
|
image: traefik:v2.11
|
||||||
args:
|
args:
|
||||||
- --log.level=DEBUG
|
- --log.level=DEBUG
|
||||||
- --api
|
- --api
|
||||||
|
|
|
@ -147,7 +147,7 @@ which in turn will create the resulting routers, services, handlers, etc.
|
||||||
serviceAccountName: traefik-ingress-controller
|
serviceAccountName: traefik-ingress-controller
|
||||||
containers:
|
containers:
|
||||||
- name: traefik
|
- name: traefik
|
||||||
image: traefik:v2.10
|
image: traefik:v2.11
|
||||||
args:
|
args:
|
||||||
- --entrypoints.web.address=:80
|
- --entrypoints.web.address=:80
|
||||||
- --providers.kubernetesingress
|
- --providers.kubernetesingress
|
||||||
|
@ -550,7 +550,7 @@ This way, any Ingress attached to this Entrypoint will have TLS termination by d
|
||||||
serviceAccountName: traefik-ingress-controller
|
serviceAccountName: traefik-ingress-controller
|
||||||
containers:
|
containers:
|
||||||
- name: traefik
|
- name: traefik
|
||||||
image: traefik:v2.10
|
image: traefik:v2.11
|
||||||
args:
|
args:
|
||||||
- --entrypoints.websecure.address=:443
|
- --entrypoints.websecure.address=:443
|
||||||
- --entrypoints.websecure.http.tls
|
- --entrypoints.websecure.http.tls
|
||||||
|
@ -760,7 +760,7 @@ For more options, please refer to the available [annotations](#on-ingress).
|
||||||
serviceAccountName: traefik-ingress-controller
|
serviceAccountName: traefik-ingress-controller
|
||||||
containers:
|
containers:
|
||||||
- name: traefik
|
- name: traefik
|
||||||
image: traefik:v2.10
|
image: traefik:v2.11
|
||||||
args:
|
args:
|
||||||
- --entrypoints.websecure.address=:443
|
- --entrypoints.websecure.address=:443
|
||||||
- --providers.kubernetesingress
|
- --providers.kubernetesingress
|
||||||
|
|
|
@ -26,7 +26,7 @@ spec:
|
||||||
serviceAccountName: traefik-ingress-controller
|
serviceAccountName: traefik-ingress-controller
|
||||||
containers:
|
containers:
|
||||||
- name: traefik
|
- name: traefik
|
||||||
image: traefik:v2.10
|
image: traefik:v2.11
|
||||||
args:
|
args:
|
||||||
- --api.insecure
|
- --api.insecure
|
||||||
- --accesslog
|
- --accesslog
|
||||||
|
|
|
@ -49,10 +49,10 @@ and the RBAC authorization resources which will be referenced through the `servi
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Install Traefik Resource Definitions:
|
# Install Traefik Resource Definitions:
|
||||||
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml
|
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.11/docs/content/reference/dynamic-configuration/kubernetes-crd-definition-v1.yml
|
||||||
|
|
||||||
# Install RBAC for Traefik:
|
# Install RBAC for Traefik:
|
||||||
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml
|
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.11/docs/content/reference/dynamic-configuration/kubernetes-crd-rbac.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
### Services
|
### Services
|
||||||
|
@ -60,7 +60,7 @@ kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/co
|
||||||
Then, the services. One for Traefik itself, and one for the app it routes for, i.e. in this case our demo HTTP server: [whoami](https://github.com/traefik/whoami).
|
Then, the services. One for Traefik itself, and one for the app it routes for, i.e. in this case our demo HTTP server: [whoami](https://github.com/traefik/whoami).
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/user-guides/crd-acme/02-services.yml
|
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.11/docs/content/user-guides/crd-acme/02-services.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -73,7 +73,7 @@ Next, the deployments, i.e. the actual pods behind the services.
|
||||||
Again, one pod for Traefik, and one for the whoami app.
|
Again, one pod for Traefik, and one for the whoami app.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/user-guides/crd-acme/03-deployments.yml
|
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.11/docs/content/user-guides/crd-acme/03-deployments.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -100,7 +100,7 @@ Look it up.
|
||||||
We can now finally apply the actual ingressRoutes, with:
|
We can now finally apply the actual ingressRoutes, with:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/user-guides/crd-acme/04-ingressroutes.yml
|
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.11/docs/content/user-guides/crd-acme/04-ingressroutes.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -126,7 +126,7 @@ Nowadays, TLS v1.0 and v1.1 are deprecated.
|
||||||
In order to force TLS v1.2 or later on all your IngressRoute, you can define the `default` TLSOption:
|
In order to force TLS v1.2 or later on all your IngressRoute, you can define the `default` TLSOption:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.10/docs/content/user-guides/crd-acme/05-tlsoption.yml
|
kubectl apply -f https://raw.githubusercontent.com/traefik/traefik/v2.11/docs/content/user-guides/crd-acme/05-tlsoption.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
@ -26,5 +26,5 @@ node:
|
||||||
- K3S_CLUSTER_SECRET=somethingtotallyrandom
|
- K3S_CLUSTER_SECRET=somethingtotallyrandom
|
||||||
volumes:
|
volumes:
|
||||||
# this is where you would place a alternative traefik image (saved as a .tar file with
|
# this is where you would place a alternative traefik image (saved as a .tar file with
|
||||||
# 'docker save'), if you want to use it, instead of the traefik:v2.10 image.
|
# 'docker save'), if you want to use it, instead of the traefik:v2.11 image.
|
||||||
- /somewhere/on/your/host/custom-image:/var/lib/rancher/k3s/agent/images
|
- /somewhere/on/your/host/custom-image:/var/lib/rancher/k3s/agent/images
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: "3.3"
|
||||||
services:
|
services:
|
||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
image: "traefik:v2.10"
|
image: "traefik:v2.11"
|
||||||
container_name: "traefik"
|
container_name: "traefik"
|
||||||
command:
|
command:
|
||||||
#- "--log.level=DEBUG"
|
#- "--log.level=DEBUG"
|
||||||
|
|
|
@ -13,7 +13,7 @@ secrets:
|
||||||
services:
|
services:
|
||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
image: "traefik:v2.10"
|
image: "traefik:v2.11"
|
||||||
container_name: "traefik"
|
container_name: "traefik"
|
||||||
command:
|
command:
|
||||||
#- "--log.level=DEBUG"
|
#- "--log.level=DEBUG"
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: "3.3"
|
||||||
services:
|
services:
|
||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
image: "traefik:v2.10"
|
image: "traefik:v2.11"
|
||||||
container_name: "traefik"
|
container_name: "traefik"
|
||||||
command:
|
command:
|
||||||
#- "--log.level=DEBUG"
|
#- "--log.level=DEBUG"
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: "3.3"
|
||||||
services:
|
services:
|
||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
image: "traefik:v2.10"
|
image: "traefik:v2.11"
|
||||||
container_name: "traefik"
|
container_name: "traefik"
|
||||||
command:
|
command:
|
||||||
#- "--log.level=DEBUG"
|
#- "--log.level=DEBUG"
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: "3.3"
|
||||||
services:
|
services:
|
||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
image: "traefik:v2.10"
|
image: "traefik:v2.11"
|
||||||
container_name: "traefik"
|
container_name: "traefik"
|
||||||
command:
|
command:
|
||||||
#- "--log.level=DEBUG"
|
#- "--log.level=DEBUG"
|
||||||
|
|
|
@ -31,7 +31,7 @@ Create a `docker-compose.yml` file with the following content:
|
||||||
services:
|
services:
|
||||||
|
|
||||||
traefik:
|
traefik:
|
||||||
image: "traefik:v2.10"
|
image: "traefik:v2.11"
|
||||||
...
|
...
|
||||||
networks:
|
networks:
|
||||||
- traefiknet
|
- traefiknet
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -56,7 +56,7 @@ type ContentType struct {
|
||||||
|
|
||||||
// AddPrefix holds the add prefix middleware configuration.
|
// AddPrefix holds the add prefix middleware configuration.
|
||||||
// This middleware updates the path of a request before forwarding it.
|
// This middleware updates the path of a request before forwarding it.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/addprefix/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/addprefix/
|
||||||
type AddPrefix struct {
|
type AddPrefix struct {
|
||||||
// Prefix is the string to add before the current path in the requested URL.
|
// Prefix is the string to add before the current path in the requested URL.
|
||||||
// It should include a leading slash (/).
|
// It should include a leading slash (/).
|
||||||
|
@ -67,7 +67,7 @@ type AddPrefix struct {
|
||||||
|
|
||||||
// BasicAuth holds the basic auth middleware configuration.
|
// BasicAuth holds the basic auth middleware configuration.
|
||||||
// This middleware restricts access to your services to known users.
|
// This middleware restricts access to your services to known users.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/
|
||||||
type BasicAuth struct {
|
type BasicAuth struct {
|
||||||
// Users is an array of authorized users.
|
// Users is an array of authorized users.
|
||||||
// Each user must be declared using the name:hashed-password format.
|
// Each user must be declared using the name:hashed-password format.
|
||||||
|
@ -82,7 +82,7 @@ type BasicAuth struct {
|
||||||
// Default: false.
|
// Default: false.
|
||||||
RemoveHeader bool `json:"removeHeader,omitempty" toml:"removeHeader,omitempty" yaml:"removeHeader,omitempty" export:"true"`
|
RemoveHeader bool `json:"removeHeader,omitempty" toml:"removeHeader,omitempty" yaml:"removeHeader,omitempty" export:"true"`
|
||||||
// HeaderField defines a header field to store the authenticated user.
|
// HeaderField defines a header field to store the authenticated user.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield
|
||||||
HeaderField string `json:"headerField,omitempty" toml:"headerField,omitempty" yaml:"headerField,omitempty" export:"true"`
|
HeaderField string `json:"headerField,omitempty" toml:"headerField,omitempty" yaml:"headerField,omitempty" export:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ type BasicAuth struct {
|
||||||
|
|
||||||
// Buffering holds the buffering middleware configuration.
|
// Buffering holds the buffering middleware configuration.
|
||||||
// This middleware retries or limits the size of requests that can be forwarded to backends.
|
// This middleware retries or limits the size of requests that can be forwarded to backends.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#maxrequestbodybytes
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#maxrequestbodybytes
|
||||||
type Buffering struct {
|
type Buffering struct {
|
||||||
// MaxRequestBodyBytes defines the maximum allowed body size for the request (in bytes).
|
// MaxRequestBodyBytes defines the maximum allowed body size for the request (in bytes).
|
||||||
// If the request exceeds the allowed size, it is not forwarded to the service, and the client gets a 413 (Request Entity Too Large) response.
|
// If the request exceeds the allowed size, it is not forwarded to the service, and the client gets a 413 (Request Entity Too Large) response.
|
||||||
|
@ -108,7 +108,7 @@ type Buffering struct {
|
||||||
MemResponseBodyBytes int64 `json:"memResponseBodyBytes,omitempty" toml:"memResponseBodyBytes,omitempty" yaml:"memResponseBodyBytes,omitempty" export:"true"`
|
MemResponseBodyBytes int64 `json:"memResponseBodyBytes,omitempty" toml:"memResponseBodyBytes,omitempty" yaml:"memResponseBodyBytes,omitempty" export:"true"`
|
||||||
// RetryExpression defines the retry conditions.
|
// RetryExpression defines the retry conditions.
|
||||||
// It is a logical combination of functions with operators AND (&&) and OR (||).
|
// It is a logical combination of functions with operators AND (&&) and OR (||).
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/buffering/#retryexpression
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/buffering/#retryexpression
|
||||||
RetryExpression string `json:"retryExpression,omitempty" toml:"retryExpression,omitempty" yaml:"retryExpression,omitempty" export:"true"`
|
RetryExpression string `json:"retryExpression,omitempty" toml:"retryExpression,omitempty" yaml:"retryExpression,omitempty" export:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -125,7 +125,7 @@ type Chain struct {
|
||||||
|
|
||||||
// CircuitBreaker holds the circuit breaker middleware configuration.
|
// CircuitBreaker holds the circuit breaker middleware configuration.
|
||||||
// This middleware protects the system from stacking requests to unhealthy services, resulting in cascading failures.
|
// This middleware protects the system from stacking requests to unhealthy services, resulting in cascading failures.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/circuitbreaker/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/circuitbreaker/
|
||||||
type CircuitBreaker struct {
|
type CircuitBreaker struct {
|
||||||
// Expression defines the expression that, once matched, opens the circuit breaker and applies the fallback mechanism instead of calling the services.
|
// Expression defines the expression that, once matched, opens the circuit breaker and applies the fallback mechanism instead of calling the services.
|
||||||
Expression string `json:"expression,omitempty" toml:"expression,omitempty" yaml:"expression,omitempty" export:"true"`
|
Expression string `json:"expression,omitempty" toml:"expression,omitempty" yaml:"expression,omitempty" export:"true"`
|
||||||
|
@ -148,7 +148,7 @@ func (c *CircuitBreaker) SetDefaults() {
|
||||||
|
|
||||||
// Compress holds the compress middleware configuration.
|
// Compress holds the compress middleware configuration.
|
||||||
// This middleware compresses responses before sending them to the client, using gzip compression.
|
// This middleware compresses responses before sending them to the client, using gzip compression.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/compress/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/compress/
|
||||||
type Compress struct {
|
type Compress struct {
|
||||||
// ExcludedContentTypes defines the list of content types to compare the Content-Type header of the incoming requests and responses before compressing.
|
// ExcludedContentTypes defines the list of content types to compare the Content-Type header of the incoming requests and responses before compressing.
|
||||||
ExcludedContentTypes []string `json:"excludedContentTypes,omitempty" toml:"excludedContentTypes,omitempty" yaml:"excludedContentTypes,omitempty" export:"true"`
|
ExcludedContentTypes []string `json:"excludedContentTypes,omitempty" toml:"excludedContentTypes,omitempty" yaml:"excludedContentTypes,omitempty" export:"true"`
|
||||||
|
@ -161,7 +161,7 @@ type Compress struct {
|
||||||
|
|
||||||
// DigestAuth holds the digest auth middleware configuration.
|
// DigestAuth holds the digest auth middleware configuration.
|
||||||
// This middleware restricts access to your services to known users.
|
// This middleware restricts access to your services to known users.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/digestauth/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/digestauth/
|
||||||
type DigestAuth struct {
|
type DigestAuth struct {
|
||||||
// Users defines the authorized users.
|
// Users defines the authorized users.
|
||||||
// Each user should be declared using the name:realm:encoded-password format.
|
// Each user should be declared using the name:realm:encoded-password format.
|
||||||
|
@ -174,7 +174,7 @@ type DigestAuth struct {
|
||||||
// Default: traefik.
|
// Default: traefik.
|
||||||
Realm string `json:"realm,omitempty" toml:"realm,omitempty" yaml:"realm,omitempty"`
|
Realm string `json:"realm,omitempty" toml:"realm,omitempty" yaml:"realm,omitempty"`
|
||||||
// HeaderField defines a header field to store the authenticated user.
|
// HeaderField defines a header field to store the authenticated user.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield
|
||||||
HeaderField string `json:"headerField,omitempty" toml:"headerField,omitempty" yaml:"headerField,omitempty" export:"true"`
|
HeaderField string `json:"headerField,omitempty" toml:"headerField,omitempty" yaml:"headerField,omitempty" export:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -200,7 +200,7 @@ type ErrorPage struct {
|
||||||
|
|
||||||
// ForwardAuth holds the forward auth middleware configuration.
|
// ForwardAuth holds the forward auth middleware configuration.
|
||||||
// This middleware delegates the request authentication to a Service.
|
// This middleware delegates the request authentication to a Service.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/
|
||||||
type ForwardAuth struct {
|
type ForwardAuth struct {
|
||||||
// Address defines the authentication server address.
|
// Address defines the authentication server address.
|
||||||
Address string `json:"address,omitempty" toml:"address,omitempty" yaml:"address,omitempty"`
|
Address string `json:"address,omitempty" toml:"address,omitempty" yaml:"address,omitempty"`
|
||||||
|
@ -211,7 +211,7 @@ type ForwardAuth struct {
|
||||||
// AuthResponseHeaders defines the list of headers to copy from the authentication server response and set on forwarded request, replacing any existing conflicting headers.
|
// AuthResponseHeaders defines the list of headers to copy from the authentication server response and set on forwarded request, replacing any existing conflicting headers.
|
||||||
AuthResponseHeaders []string `json:"authResponseHeaders,omitempty" toml:"authResponseHeaders,omitempty" yaml:"authResponseHeaders,omitempty" export:"true"`
|
AuthResponseHeaders []string `json:"authResponseHeaders,omitempty" toml:"authResponseHeaders,omitempty" yaml:"authResponseHeaders,omitempty" export:"true"`
|
||||||
// AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex.
|
// AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/#authresponseheadersregex
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/#authresponseheadersregex
|
||||||
AuthResponseHeadersRegex string `json:"authResponseHeadersRegex,omitempty" toml:"authResponseHeadersRegex,omitempty" yaml:"authResponseHeadersRegex,omitempty" export:"true"`
|
AuthResponseHeadersRegex string `json:"authResponseHeadersRegex,omitempty" toml:"authResponseHeadersRegex,omitempty" yaml:"authResponseHeadersRegex,omitempty" export:"true"`
|
||||||
// AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server.
|
// AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server.
|
||||||
// If not set or empty then all request headers are passed.
|
// If not set or empty then all request headers are passed.
|
||||||
|
@ -222,7 +222,7 @@ type ForwardAuth struct {
|
||||||
|
|
||||||
// Headers holds the headers middleware configuration.
|
// Headers holds the headers middleware configuration.
|
||||||
// This middleware manages the requests and responses headers.
|
// This middleware manages the requests and responses headers.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/headers/#customrequestheaders
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/headers/#customrequestheaders
|
||||||
type Headers struct {
|
type Headers struct {
|
||||||
// CustomRequestHeaders defines the header names and values to apply to the request.
|
// CustomRequestHeaders defines the header names and values to apply to the request.
|
||||||
CustomRequestHeaders map[string]string `json:"customRequestHeaders,omitempty" toml:"customRequestHeaders,omitempty" yaml:"customRequestHeaders,omitempty" export:"true"`
|
CustomRequestHeaders map[string]string `json:"customRequestHeaders,omitempty" toml:"customRequestHeaders,omitempty" yaml:"customRequestHeaders,omitempty" export:"true"`
|
||||||
|
@ -347,7 +347,7 @@ func (h *Headers) HasSecureHeadersDefined() bool {
|
||||||
// +k8s:deepcopy-gen=true
|
// +k8s:deepcopy-gen=true
|
||||||
|
|
||||||
// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP.
|
// IPStrategy holds the IP strategy configuration used by Traefik to determine the client IP.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipallowlist/#ipstrategy
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/#ipstrategy
|
||||||
type IPStrategy struct {
|
type IPStrategy struct {
|
||||||
// Depth tells Traefik to use the X-Forwarded-For header and take the IP located at the depth position (starting from the right).
|
// Depth tells Traefik to use the X-Forwarded-For header and take the IP located at the depth position (starting from the right).
|
||||||
Depth int `json:"depth,omitempty" toml:"depth,omitempty" yaml:"depth,omitempty" export:"true"`
|
Depth int `json:"depth,omitempty" toml:"depth,omitempty" yaml:"depth,omitempty" export:"true"`
|
||||||
|
@ -388,7 +388,7 @@ func (s *IPStrategy) Get() (ip.Strategy, error) {
|
||||||
|
|
||||||
// IPWhiteList holds the IP whitelist middleware configuration.
|
// IPWhiteList holds the IP whitelist middleware configuration.
|
||||||
// This middleware accepts / refuses requests based on the client IP.
|
// This middleware accepts / refuses requests based on the client IP.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipwhitelist/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipwhitelist/
|
||||||
// Deprecated: please use IPAllowList instead.
|
// Deprecated: please use IPAllowList instead.
|
||||||
type IPWhiteList struct {
|
type IPWhiteList struct {
|
||||||
// SourceRange defines the set of allowed IPs (or ranges of allowed IPs by using CIDR notation).
|
// SourceRange defines the set of allowed IPs (or ranges of allowed IPs by using CIDR notation).
|
||||||
|
@ -400,7 +400,7 @@ type IPWhiteList struct {
|
||||||
|
|
||||||
// IPAllowList holds the IP allowlist middleware configuration.
|
// IPAllowList holds the IP allowlist middleware configuration.
|
||||||
// This middleware accepts / refuses requests based on the client IP.
|
// This middleware accepts / refuses requests based on the client IP.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ipallowlist/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ipallowlist/
|
||||||
type IPAllowList struct {
|
type IPAllowList struct {
|
||||||
// SourceRange defines the set of allowed IPs (or ranges of allowed IPs by using CIDR notation).
|
// SourceRange defines the set of allowed IPs (or ranges of allowed IPs by using CIDR notation).
|
||||||
SourceRange []string `json:"sourceRange,omitempty" toml:"sourceRange,omitempty" yaml:"sourceRange,omitempty"`
|
SourceRange []string `json:"sourceRange,omitempty" toml:"sourceRange,omitempty" yaml:"sourceRange,omitempty"`
|
||||||
|
@ -411,7 +411,7 @@ type IPAllowList struct {
|
||||||
|
|
||||||
// InFlightReq holds the in-flight request middleware configuration.
|
// InFlightReq holds the in-flight request middleware configuration.
|
||||||
// This middleware limits the number of requests being processed and served concurrently.
|
// This middleware limits the number of requests being processed and served concurrently.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/
|
||||||
type InFlightReq struct {
|
type InFlightReq struct {
|
||||||
// Amount defines the maximum amount of allowed simultaneous in-flight request.
|
// Amount defines the maximum amount of allowed simultaneous in-flight request.
|
||||||
// The middleware responds with HTTP 429 Too Many Requests if there are already amount requests in progress (based on the same sourceCriterion strategy).
|
// The middleware responds with HTTP 429 Too Many Requests if there are already amount requests in progress (based on the same sourceCriterion strategy).
|
||||||
|
@ -419,7 +419,7 @@ type InFlightReq struct {
|
||||||
// SourceCriterion defines what criterion is used to group requests as originating from a common source.
|
// SourceCriterion defines what criterion is used to group requests as originating from a common source.
|
||||||
// If several strategies are defined at the same time, an error will be raised.
|
// If several strategies are defined at the same time, an error will be raised.
|
||||||
// If none are set, the default is to use the requestHost.
|
// If none are set, the default is to use the requestHost.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/inflightreq/#sourcecriterion
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/inflightreq/#sourcecriterion
|
||||||
SourceCriterion *SourceCriterion `json:"sourceCriterion,omitempty" toml:"sourceCriterion,omitempty" yaml:"sourceCriterion,omitempty" export:"true"`
|
SourceCriterion *SourceCriterion `json:"sourceCriterion,omitempty" toml:"sourceCriterion,omitempty" yaml:"sourceCriterion,omitempty" export:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -427,7 +427,7 @@ type InFlightReq struct {
|
||||||
|
|
||||||
// PassTLSClientCert holds the pass TLS client cert middleware configuration.
|
// PassTLSClientCert holds the pass TLS client cert middleware configuration.
|
||||||
// This middleware adds the selected data from the passed client TLS certificate to a header.
|
// This middleware adds the selected data from the passed client TLS certificate to a header.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/passtlsclientcert/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/passtlsclientcert/
|
||||||
type PassTLSClientCert struct {
|
type PassTLSClientCert struct {
|
||||||
// PEM sets the X-Forwarded-Tls-Client-Cert header with the certificate.
|
// PEM sets the X-Forwarded-Tls-Client-Cert header with the certificate.
|
||||||
PEM bool `json:"pem,omitempty" toml:"pem,omitempty" yaml:"pem,omitempty" export:"true"`
|
PEM bool `json:"pem,omitempty" toml:"pem,omitempty" yaml:"pem,omitempty" export:"true"`
|
||||||
|
@ -483,7 +483,7 @@ func (r *RateLimit) SetDefaults() {
|
||||||
|
|
||||||
// RedirectRegex holds the redirect regex middleware configuration.
|
// RedirectRegex holds the redirect regex middleware configuration.
|
||||||
// This middleware redirects a request using regex matching and replacement.
|
// This middleware redirects a request using regex matching and replacement.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectregex/#regex
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectregex/#regex
|
||||||
type RedirectRegex struct {
|
type RedirectRegex struct {
|
||||||
// Regex defines the regex used to match and capture elements from the request URL.
|
// Regex defines the regex used to match and capture elements from the request URL.
|
||||||
Regex string `json:"regex,omitempty" toml:"regex,omitempty" yaml:"regex,omitempty"`
|
Regex string `json:"regex,omitempty" toml:"regex,omitempty" yaml:"regex,omitempty"`
|
||||||
|
@ -497,7 +497,7 @@ type RedirectRegex struct {
|
||||||
|
|
||||||
// RedirectScheme holds the redirect scheme middleware configuration.
|
// RedirectScheme holds the redirect scheme middleware configuration.
|
||||||
// This middleware redirects requests from a scheme/port to another.
|
// This middleware redirects requests from a scheme/port to another.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/redirectscheme/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/redirectscheme/
|
||||||
type RedirectScheme struct {
|
type RedirectScheme struct {
|
||||||
// Scheme defines the scheme of the new URL.
|
// Scheme defines the scheme of the new URL.
|
||||||
Scheme string `json:"scheme,omitempty" toml:"scheme,omitempty" yaml:"scheme,omitempty" export:"true"`
|
Scheme string `json:"scheme,omitempty" toml:"scheme,omitempty" yaml:"scheme,omitempty" export:"true"`
|
||||||
|
@ -511,7 +511,7 @@ type RedirectScheme struct {
|
||||||
|
|
||||||
// ReplacePath holds the replace path middleware configuration.
|
// ReplacePath holds the replace path middleware configuration.
|
||||||
// This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header.
|
// This middleware replaces the path of the request URL and store the original path in an X-Replaced-Path header.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepath/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepath/
|
||||||
type ReplacePath struct {
|
type ReplacePath struct {
|
||||||
// Path defines the path to use as replacement in the request URL.
|
// Path defines the path to use as replacement in the request URL.
|
||||||
Path string `json:"path,omitempty" toml:"path,omitempty" yaml:"path,omitempty" export:"true"`
|
Path string `json:"path,omitempty" toml:"path,omitempty" yaml:"path,omitempty" export:"true"`
|
||||||
|
@ -521,7 +521,7 @@ type ReplacePath struct {
|
||||||
|
|
||||||
// ReplacePathRegex holds the replace path regex middleware configuration.
|
// ReplacePathRegex holds the replace path regex middleware configuration.
|
||||||
// This middleware replaces the path of a URL using regex matching and replacement.
|
// This middleware replaces the path of a URL using regex matching and replacement.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/replacepathregex/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/replacepathregex/
|
||||||
type ReplacePathRegex struct {
|
type ReplacePathRegex struct {
|
||||||
// Regex defines the regular expression used to match and capture the path from the request URL.
|
// Regex defines the regular expression used to match and capture the path from the request URL.
|
||||||
Regex string `json:"regex,omitempty" toml:"regex,omitempty" yaml:"regex,omitempty" export:"true"`
|
Regex string `json:"regex,omitempty" toml:"regex,omitempty" yaml:"regex,omitempty" export:"true"`
|
||||||
|
@ -534,7 +534,7 @@ type ReplacePathRegex struct {
|
||||||
// Retry holds the retry middleware configuration.
|
// Retry holds the retry middleware configuration.
|
||||||
// This middleware reissues requests a given number of times to a backend server if that server does not reply.
|
// This middleware reissues requests a given number of times to a backend server if that server does not reply.
|
||||||
// As soon as the server answers, the middleware stops retrying, regardless of the response status.
|
// As soon as the server answers, the middleware stops retrying, regardless of the response status.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/retry/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/retry/
|
||||||
type Retry struct {
|
type Retry struct {
|
||||||
// Attempts defines how many times the request should be retried.
|
// Attempts defines how many times the request should be retried.
|
||||||
Attempts int `json:"attempts,omitempty" toml:"attempts,omitempty" yaml:"attempts,omitempty" export:"true"`
|
Attempts int `json:"attempts,omitempty" toml:"attempts,omitempty" yaml:"attempts,omitempty" export:"true"`
|
||||||
|
@ -550,7 +550,7 @@ type Retry struct {
|
||||||
|
|
||||||
// StripPrefix holds the strip prefix middleware configuration.
|
// StripPrefix holds the strip prefix middleware configuration.
|
||||||
// This middleware removes the specified prefixes from the URL path.
|
// This middleware removes the specified prefixes from the URL path.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefix/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefix/
|
||||||
type StripPrefix struct {
|
type StripPrefix struct {
|
||||||
// Prefixes defines the prefixes to strip from the request URL.
|
// Prefixes defines the prefixes to strip from the request URL.
|
||||||
Prefixes []string `json:"prefixes,omitempty" toml:"prefixes,omitempty" yaml:"prefixes,omitempty" export:"true"`
|
Prefixes []string `json:"prefixes,omitempty" toml:"prefixes,omitempty" yaml:"prefixes,omitempty" export:"true"`
|
||||||
|
@ -568,7 +568,7 @@ func (s *StripPrefix) SetDefaults() {
|
||||||
|
|
||||||
// StripPrefixRegex holds the strip prefix regex middleware configuration.
|
// StripPrefixRegex holds the strip prefix regex middleware configuration.
|
||||||
// This middleware removes the matching prefixes from the URL path.
|
// This middleware removes the matching prefixes from the URL path.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/stripprefixregex/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/stripprefixregex/
|
||||||
type StripPrefixRegex struct {
|
type StripPrefixRegex struct {
|
||||||
// Regex defines the regular expression to match the path prefix from the request URL.
|
// Regex defines the regular expression to match the path prefix from the request URL.
|
||||||
Regex []string `json:"regex,omitempty" toml:"regex,omitempty" yaml:"regex,omitempty" export:"true"`
|
Regex []string `json:"regex,omitempty" toml:"regex,omitempty" yaml:"regex,omitempty" export:"true"`
|
||||||
|
|
|
@ -114,7 +114,7 @@ type TCPServer struct {
|
||||||
// +k8s:deepcopy-gen=true
|
// +k8s:deepcopy-gen=true
|
||||||
|
|
||||||
// ProxyProtocol holds the PROXY Protocol configuration.
|
// ProxyProtocol holds the PROXY Protocol configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/services/#proxy-protocol
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#proxy-protocol
|
||||||
type ProxyProtocol struct {
|
type ProxyProtocol struct {
|
||||||
// Version defines the PROXY Protocol version to use.
|
// Version defines the PROXY Protocol version to use.
|
||||||
Version int `json:"version,omitempty" toml:"version,omitempty" yaml:"version,omitempty" export:"true"`
|
Version int `json:"version,omitempty" toml:"version,omitempty" yaml:"version,omitempty" export:"true"`
|
||||||
|
|
|
@ -14,7 +14,7 @@ type TCPMiddleware struct {
|
||||||
// TCPInFlightConn holds the TCP InFlightConn middleware configuration.
|
// TCPInFlightConn holds the TCP InFlightConn middleware configuration.
|
||||||
// This middleware prevents services from being overwhelmed with high load,
|
// This middleware prevents services from being overwhelmed with high load,
|
||||||
// by limiting the number of allowed simultaneous connections for one IP.
|
// by limiting the number of allowed simultaneous connections for one IP.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/tcp/inflightconn/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/inflightconn/
|
||||||
type TCPInFlightConn struct {
|
type TCPInFlightConn struct {
|
||||||
// Amount defines the maximum amount of allowed simultaneous connections.
|
// Amount defines the maximum amount of allowed simultaneous connections.
|
||||||
// The middleware closes the connection if there are already amount connections opened.
|
// The middleware closes the connection if there are already amount connections opened.
|
||||||
|
|
|
@ -13,72 +13,72 @@ type IngressRouteSpec struct {
|
||||||
Routes []Route `json:"routes"`
|
Routes []Route `json:"routes"`
|
||||||
// EntryPoints defines the list of entry point names to bind to.
|
// EntryPoints defines the list of entry point names to bind to.
|
||||||
// Entry points have to be configured in the static configuration.
|
// Entry points have to be configured in the static configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||||
// Default: all.
|
// Default: all.
|
||||||
EntryPoints []string `json:"entryPoints,omitempty"`
|
EntryPoints []string `json:"entryPoints,omitempty"`
|
||||||
// TLS defines the TLS configuration.
|
// TLS defines the TLS configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls
|
||||||
TLS *TLS `json:"tls,omitempty"`
|
TLS *TLS `json:"tls,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Route holds the HTTP route configuration.
|
// Route holds the HTTP route configuration.
|
||||||
type Route struct {
|
type Route struct {
|
||||||
// Match defines the router's rule.
|
// Match defines the router's rule.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#rule
|
||||||
Match string `json:"match"`
|
Match string `json:"match"`
|
||||||
// Kind defines the kind of the route.
|
// Kind defines the kind of the route.
|
||||||
// Rule is the only supported kind.
|
// Rule is the only supported kind.
|
||||||
// +kubebuilder:validation:Enum=Rule
|
// +kubebuilder:validation:Enum=Rule
|
||||||
Kind string `json:"kind"`
|
Kind string `json:"kind"`
|
||||||
// Priority defines the router's priority.
|
// Priority defines the router's priority.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#priority
|
||||||
Priority int `json:"priority,omitempty"`
|
Priority int `json:"priority,omitempty"`
|
||||||
// Services defines the list of Service.
|
// Services defines the list of Service.
|
||||||
// It can contain any combination of TraefikService and/or reference to a Kubernetes Service.
|
// It can contain any combination of TraefikService and/or reference to a Kubernetes Service.
|
||||||
Services []Service `json:"services,omitempty"`
|
Services []Service `json:"services,omitempty"`
|
||||||
// Middlewares defines the list of references to Middleware resources.
|
// Middlewares defines the list of references to Middleware resources.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-middleware
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-middleware
|
||||||
Middlewares []MiddlewareRef `json:"middlewares,omitempty"`
|
Middlewares []MiddlewareRef `json:"middlewares,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// TLS holds the TLS configuration.
|
// TLS holds the TLS configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls
|
||||||
type TLS struct {
|
type TLS struct {
|
||||||
// SecretName is the name of the referenced Kubernetes Secret to specify the certificate details.
|
// SecretName is the name of the referenced Kubernetes Secret to specify the certificate details.
|
||||||
SecretName string `json:"secretName,omitempty"`
|
SecretName string `json:"secretName,omitempty"`
|
||||||
// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection.
|
// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection.
|
||||||
// If not defined, the `default` TLSOption is used.
|
// If not defined, the `default` TLSOption is used.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options
|
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options
|
||||||
Options *TLSOptionRef `json:"options,omitempty"`
|
Options *TLSOptionRef `json:"options,omitempty"`
|
||||||
// Store defines the reference to the TLSStore, that will be used to store certificates.
|
// Store defines the reference to the TLSStore, that will be used to store certificates.
|
||||||
// Please note that only `default` TLSStore can be used.
|
// Please note that only `default` TLSStore can be used.
|
||||||
Store *TLSStoreRef `json:"store,omitempty"`
|
Store *TLSStoreRef `json:"store,omitempty"`
|
||||||
// CertResolver defines the name of the certificate resolver to use.
|
// CertResolver defines the name of the certificate resolver to use.
|
||||||
// Cert resolvers have to be configured in the static configuration.
|
// Cert resolvers have to be configured in the static configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers
|
// More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers
|
||||||
CertResolver string `json:"certResolver,omitempty"`
|
CertResolver string `json:"certResolver,omitempty"`
|
||||||
// Domains defines the list of domains that will be used to issue certificates.
|
// Domains defines the list of domains that will be used to issue certificates.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains
|
||||||
Domains []types.Domain `json:"domains,omitempty"`
|
Domains []types.Domain `json:"domains,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// TLSOptionRef is a reference to a TLSOption resource.
|
// TLSOptionRef is a reference to a TLSOption resource.
|
||||||
type TLSOptionRef struct {
|
type TLSOptionRef struct {
|
||||||
// Name defines the name of the referenced TLSOption.
|
// Name defines the name of the referenced TLSOption.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
// Namespace defines the namespace of the referenced TLSOption.
|
// Namespace defines the namespace of the referenced TLSOption.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption
|
||||||
Namespace string `json:"namespace,omitempty"`
|
Namespace string `json:"namespace,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// TLSStoreRef is a reference to a TLSStore resource.
|
// TLSStoreRef is a reference to a TLSStore resource.
|
||||||
type TLSStoreRef struct {
|
type TLSStoreRef struct {
|
||||||
// Name defines the name of the referenced TLSStore.
|
// Name defines the name of the referenced TLSStore.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
// Namespace defines the namespace of the referenced TLSStore.
|
// Namespace defines the namespace of the referenced TLSStore.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore
|
||||||
Namespace string `json:"namespace,omitempty"`
|
Namespace string `json:"namespace,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ type LoadBalancerSpec struct {
|
||||||
// Namespace defines the namespace of the referenced Kubernetes Service or TraefikService.
|
// Namespace defines the namespace of the referenced Kubernetes Service or TraefikService.
|
||||||
Namespace string `json:"namespace,omitempty"`
|
Namespace string `json:"namespace,omitempty"`
|
||||||
// Sticky defines the sticky sessions configuration.
|
// Sticky defines the sticky sessions configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions
|
||||||
Sticky *dynamic.Sticky `json:"sticky,omitempty"`
|
Sticky *dynamic.Sticky `json:"sticky,omitempty"`
|
||||||
// Port defines the port of a Kubernetes Service.
|
// Port defines the port of a Kubernetes Service.
|
||||||
// This can be a reference to a named port.
|
// This can be a reference to a named port.
|
||||||
|
|
|
@ -13,21 +13,21 @@ type IngressRouteTCPSpec struct {
|
||||||
Routes []RouteTCP `json:"routes"`
|
Routes []RouteTCP `json:"routes"`
|
||||||
// EntryPoints defines the list of entry point names to bind to.
|
// EntryPoints defines the list of entry point names to bind to.
|
||||||
// Entry points have to be configured in the static configuration.
|
// Entry points have to be configured in the static configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||||
// Default: all.
|
// Default: all.
|
||||||
EntryPoints []string `json:"entryPoints,omitempty"`
|
EntryPoints []string `json:"entryPoints,omitempty"`
|
||||||
// TLS defines the TLS configuration on a layer 4 / TCP Route.
|
// TLS defines the TLS configuration on a layer 4 / TCP Route.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls_1
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls_1
|
||||||
TLS *TLSTCP `json:"tls,omitempty"`
|
TLS *TLSTCP `json:"tls,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// RouteTCP holds the TCP route configuration.
|
// RouteTCP holds the TCP route configuration.
|
||||||
type RouteTCP struct {
|
type RouteTCP struct {
|
||||||
// Match defines the router's rule.
|
// Match defines the router's rule.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule_1
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#rule_1
|
||||||
Match string `json:"match"`
|
Match string `json:"match"`
|
||||||
// Priority defines the router's priority.
|
// Priority defines the router's priority.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority_1
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#priority_1
|
||||||
Priority int `json:"priority,omitempty"`
|
Priority int `json:"priority,omitempty"`
|
||||||
// Services defines the list of TCP services.
|
// Services defines the list of TCP services.
|
||||||
Services []ServiceTCP `json:"services,omitempty"`
|
Services []ServiceTCP `json:"services,omitempty"`
|
||||||
|
@ -36,7 +36,7 @@ type RouteTCP struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// TLSTCP holds the TLS configuration for an IngressRouteTCP.
|
// TLSTCP holds the TLS configuration for an IngressRouteTCP.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls_1
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls_1
|
||||||
type TLSTCP struct {
|
type TLSTCP struct {
|
||||||
// SecretName is the name of the referenced Kubernetes Secret to specify the certificate details.
|
// SecretName is the name of the referenced Kubernetes Secret to specify the certificate details.
|
||||||
SecretName string `json:"secretName,omitempty"`
|
SecretName string `json:"secretName,omitempty"`
|
||||||
|
@ -44,17 +44,17 @@ type TLSTCP struct {
|
||||||
Passthrough bool `json:"passthrough,omitempty"`
|
Passthrough bool `json:"passthrough,omitempty"`
|
||||||
// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection.
|
// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection.
|
||||||
// If not defined, the `default` TLSOption is used.
|
// If not defined, the `default` TLSOption is used.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options
|
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options
|
||||||
Options *ObjectReference `json:"options,omitempty"`
|
Options *ObjectReference `json:"options,omitempty"`
|
||||||
// Store defines the reference to the TLSStore, that will be used to store certificates.
|
// Store defines the reference to the TLSStore, that will be used to store certificates.
|
||||||
// Please note that only `default` TLSStore can be used.
|
// Please note that only `default` TLSStore can be used.
|
||||||
Store *ObjectReference `json:"store,omitempty"`
|
Store *ObjectReference `json:"store,omitempty"`
|
||||||
// CertResolver defines the name of the certificate resolver to use.
|
// CertResolver defines the name of the certificate resolver to use.
|
||||||
// Cert resolvers have to be configured in the static configuration.
|
// Cert resolvers have to be configured in the static configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers
|
// More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers
|
||||||
CertResolver string `json:"certResolver,omitempty"`
|
CertResolver string `json:"certResolver,omitempty"`
|
||||||
// Domains defines the list of domains that will be used to issue certificates.
|
// Domains defines the list of domains that will be used to issue certificates.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains
|
||||||
Domains []types.Domain `json:"domains,omitempty"`
|
Domains []types.Domain `json:"domains,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ type ServiceTCP struct {
|
||||||
// A negative value means an infinite deadline (i.e. the reading capability is never closed).
|
// A negative value means an infinite deadline (i.e. the reading capability is never closed).
|
||||||
TerminationDelay *int `json:"terminationDelay,omitempty"`
|
TerminationDelay *int `json:"terminationDelay,omitempty"`
|
||||||
// ProxyProtocol defines the PROXY protocol configuration.
|
// ProxyProtocol defines the PROXY protocol configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/services/#proxy-protocol
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#proxy-protocol
|
||||||
ProxyProtocol *dynamic.ProxyProtocol `json:"proxyProtocol,omitempty"`
|
ProxyProtocol *dynamic.ProxyProtocol `json:"proxyProtocol,omitempty"`
|
||||||
// NativeLB controls, when creating the load-balancer,
|
// NativeLB controls, when creating the load-balancer,
|
||||||
// whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP.
|
// whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP.
|
||||||
|
|
|
@ -11,7 +11,7 @@ type IngressRouteUDPSpec struct {
|
||||||
Routes []RouteUDP `json:"routes"`
|
Routes []RouteUDP `json:"routes"`
|
||||||
// EntryPoints defines the list of entry point names to bind to.
|
// EntryPoints defines the list of entry point names to bind to.
|
||||||
// Entry points have to be configured in the static configuration.
|
// Entry points have to be configured in the static configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||||
// Default: all.
|
// Default: all.
|
||||||
EntryPoints []string `json:"entryPoints,omitempty"`
|
EntryPoints []string `json:"entryPoints,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ import (
|
||||||
// +kubebuilder:storageversion
|
// +kubebuilder:storageversion
|
||||||
|
|
||||||
// Middleware is the CRD implementation of a Traefik Middleware.
|
// Middleware is the CRD implementation of a Traefik Middleware.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/overview/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/overview/
|
||||||
type Middleware struct {
|
type Middleware struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
|
@ -58,7 +58,7 @@ type MiddlewareSpec struct {
|
||||||
|
|
||||||
// ErrorPage holds the custom error middleware configuration.
|
// ErrorPage holds the custom error middleware configuration.
|
||||||
// This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes.
|
// This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/
|
||||||
type ErrorPage struct {
|
type ErrorPage struct {
|
||||||
// Status defines which status or range of statuses should result in an error page.
|
// Status defines which status or range of statuses should result in an error page.
|
||||||
// It can be either a status code as a number (500),
|
// It can be either a status code as a number (500),
|
||||||
|
@ -67,7 +67,7 @@ type ErrorPage struct {
|
||||||
// or a combination of the two (404,418,500-599).
|
// or a combination of the two (404,418,500-599).
|
||||||
Status []string `json:"status,omitempty"`
|
Status []string `json:"status,omitempty"`
|
||||||
// Service defines the reference to a Kubernetes Service that will serve the error page.
|
// Service defines the reference to a Kubernetes Service that will serve the error page.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/#service
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/#service
|
||||||
Service Service `json:"service,omitempty"`
|
Service Service `json:"service,omitempty"`
|
||||||
// Query defines the URL for the error page (hosted by service).
|
// Query defines the URL for the error page (hosted by service).
|
||||||
// The {status} variable can be used in order to insert the status code in the URL.
|
// The {status} variable can be used in order to insert the status code in the URL.
|
||||||
|
@ -92,7 +92,7 @@ type CircuitBreaker struct {
|
||||||
|
|
||||||
// Chain holds the configuration of the chain middleware.
|
// Chain holds the configuration of the chain middleware.
|
||||||
// This middleware enables to define reusable combinations of other pieces of middleware.
|
// This middleware enables to define reusable combinations of other pieces of middleware.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/chain/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/chain/
|
||||||
type Chain struct {
|
type Chain struct {
|
||||||
// Middlewares is the list of MiddlewareRef which composes the chain.
|
// Middlewares is the list of MiddlewareRef which composes the chain.
|
||||||
Middlewares []MiddlewareRef `json:"middlewares,omitempty"`
|
Middlewares []MiddlewareRef `json:"middlewares,omitempty"`
|
||||||
|
@ -102,7 +102,7 @@ type Chain struct {
|
||||||
|
|
||||||
// BasicAuth holds the basic auth middleware configuration.
|
// BasicAuth holds the basic auth middleware configuration.
|
||||||
// This middleware restricts access to your services to known users.
|
// This middleware restricts access to your services to known users.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/
|
||||||
type BasicAuth struct {
|
type BasicAuth struct {
|
||||||
// Secret is the name of the referenced Kubernetes Secret containing user credentials.
|
// Secret is the name of the referenced Kubernetes Secret containing user credentials.
|
||||||
Secret string `json:"secret,omitempty"`
|
Secret string `json:"secret,omitempty"`
|
||||||
|
@ -113,7 +113,7 @@ type BasicAuth struct {
|
||||||
// Default: false.
|
// Default: false.
|
||||||
RemoveHeader bool `json:"removeHeader,omitempty"`
|
RemoveHeader bool `json:"removeHeader,omitempty"`
|
||||||
// HeaderField defines a header field to store the authenticated user.
|
// HeaderField defines a header field to store the authenticated user.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield
|
||||||
HeaderField string `json:"headerField,omitempty"`
|
HeaderField string `json:"headerField,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ type BasicAuth struct {
|
||||||
|
|
||||||
// DigestAuth holds the digest auth middleware configuration.
|
// DigestAuth holds the digest auth middleware configuration.
|
||||||
// This middleware restricts access to your services to known users.
|
// This middleware restricts access to your services to known users.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/digestauth/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/digestauth/
|
||||||
type DigestAuth struct {
|
type DigestAuth struct {
|
||||||
// Secret is the name of the referenced Kubernetes Secret containing user credentials.
|
// Secret is the name of the referenced Kubernetes Secret containing user credentials.
|
||||||
Secret string `json:"secret,omitempty"`
|
Secret string `json:"secret,omitempty"`
|
||||||
|
@ -131,7 +131,7 @@ type DigestAuth struct {
|
||||||
// Default: traefik.
|
// Default: traefik.
|
||||||
Realm string `json:"realm,omitempty"`
|
Realm string `json:"realm,omitempty"`
|
||||||
// HeaderField defines a header field to store the authenticated user.
|
// HeaderField defines a header field to store the authenticated user.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield
|
||||||
HeaderField string `json:"headerField,omitempty"`
|
HeaderField string `json:"headerField,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ type DigestAuth struct {
|
||||||
|
|
||||||
// ForwardAuth holds the forward auth middleware configuration.
|
// ForwardAuth holds the forward auth middleware configuration.
|
||||||
// This middleware delegates the request authentication to a Service.
|
// This middleware delegates the request authentication to a Service.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/
|
||||||
type ForwardAuth struct {
|
type ForwardAuth struct {
|
||||||
// Address defines the authentication server address.
|
// Address defines the authentication server address.
|
||||||
Address string `json:"address,omitempty"`
|
Address string `json:"address,omitempty"`
|
||||||
|
@ -148,7 +148,7 @@ type ForwardAuth struct {
|
||||||
// AuthResponseHeaders defines the list of headers to copy from the authentication server response and set on forwarded request, replacing any existing conflicting headers.
|
// AuthResponseHeaders defines the list of headers to copy from the authentication server response and set on forwarded request, replacing any existing conflicting headers.
|
||||||
AuthResponseHeaders []string `json:"authResponseHeaders,omitempty"`
|
AuthResponseHeaders []string `json:"authResponseHeaders,omitempty"`
|
||||||
// AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex.
|
// AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/#authresponseheadersregex
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/#authresponseheadersregex
|
||||||
AuthResponseHeadersRegex string `json:"authResponseHeadersRegex,omitempty"`
|
AuthResponseHeadersRegex string `json:"authResponseHeadersRegex,omitempty"`
|
||||||
// AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server.
|
// AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server.
|
||||||
// If not set or empty then all request headers are passed.
|
// If not set or empty then all request headers are passed.
|
||||||
|
@ -174,7 +174,7 @@ type ClientTLS struct {
|
||||||
|
|
||||||
// RateLimit holds the rate limit configuration.
|
// RateLimit holds the rate limit configuration.
|
||||||
// This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is.
|
// This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ratelimit/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ratelimit/
|
||||||
type RateLimit struct {
|
type RateLimit struct {
|
||||||
// Average is the maximum rate, by default in requests/s, allowed for the given source.
|
// Average is the maximum rate, by default in requests/s, allowed for the given source.
|
||||||
// It defaults to 0, which means no rate limiting.
|
// It defaults to 0, which means no rate limiting.
|
||||||
|
@ -198,7 +198,7 @@ type RateLimit struct {
|
||||||
// Retry holds the retry middleware configuration.
|
// Retry holds the retry middleware configuration.
|
||||||
// This middleware reissues requests a given number of times to a backend server if that server does not reply.
|
// This middleware reissues requests a given number of times to a backend server if that server does not reply.
|
||||||
// As soon as the server answers, the middleware stops retrying, regardless of the response status.
|
// As soon as the server answers, the middleware stops retrying, regardless of the response status.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/retry/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/retry/
|
||||||
type Retry struct {
|
type Retry struct {
|
||||||
// Attempts defines how many times the request should be retried.
|
// Attempts defines how many times the request should be retried.
|
||||||
Attempts int `json:"attempts,omitempty"`
|
Attempts int `json:"attempts,omitempty"`
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// MiddlewareTCP is the CRD implementation of a Traefik TCP middleware.
|
// MiddlewareTCP is the CRD implementation of a Traefik TCP middleware.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/overview/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/overview/
|
||||||
type MiddlewareTCP struct {
|
type MiddlewareTCP struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
|
@ -28,11 +28,11 @@ type MiddlewareTCPSpec struct {
|
||||||
// IPWhiteList defines the IPWhiteList middleware configuration.
|
// IPWhiteList defines the IPWhiteList middleware configuration.
|
||||||
// This middleware accepts/refuses connections based on the client IP.
|
// This middleware accepts/refuses connections based on the client IP.
|
||||||
// Deprecated: please use IPAllowList instead.
|
// Deprecated: please use IPAllowList instead.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/tcp/ipwhitelist/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipwhitelist/
|
||||||
IPWhiteList *dynamic.TCPIPWhiteList `json:"ipWhiteList,omitempty"`
|
IPWhiteList *dynamic.TCPIPWhiteList `json:"ipWhiteList,omitempty"`
|
||||||
// IPAllowList defines the IPAllowList middleware configuration.
|
// IPAllowList defines the IPAllowList middleware configuration.
|
||||||
// This middleware accepts/refuses connections based on the client IP.
|
// This middleware accepts/refuses connections based on the client IP.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/tcp/ipallowlist/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipallowlist/
|
||||||
IPAllowList *dynamic.TCPIPAllowList `json:"ipAllowList,omitempty"`
|
IPAllowList *dynamic.TCPIPAllowList `json:"ipAllowList,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ import (
|
||||||
// ServersTransport is the CRD implementation of a ServersTransport.
|
// ServersTransport is the CRD implementation of a ServersTransport.
|
||||||
// If no serversTransport is specified, the default@internal will be used.
|
// If no serversTransport is specified, the default@internal will be used.
|
||||||
// The default@internal serversTransport is created from the static configuration.
|
// The default@internal serversTransport is created from the static configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/services/#serverstransport_1
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#serverstransport_1
|
||||||
type ServersTransport struct {
|
type ServersTransport struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
|
|
|
@ -13,7 +13,7 @@ import (
|
||||||
// TraefikService object allows to:
|
// TraefikService object allows to:
|
||||||
// - Apply weight to Services on load-balancing
|
// - Apply weight to Services on load-balancing
|
||||||
// - Mirror traffic on services
|
// - Mirror traffic on services
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-traefikservice
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-traefikservice
|
||||||
type TraefikService struct {
|
type TraefikService struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
|
@ -49,7 +49,7 @@ type TraefikServiceSpec struct {
|
||||||
// +k8s:deepcopy-gen=true
|
// +k8s:deepcopy-gen=true
|
||||||
|
|
||||||
// Mirroring holds the mirroring service configuration.
|
// Mirroring holds the mirroring service configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/services/#mirroring-service
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#mirroring-service
|
||||||
type Mirroring struct {
|
type Mirroring struct {
|
||||||
LoadBalancerSpec `json:",inline"`
|
LoadBalancerSpec `json:",inline"`
|
||||||
|
|
||||||
|
@ -75,11 +75,11 @@ type MirrorService struct {
|
||||||
// +k8s:deepcopy-gen=true
|
// +k8s:deepcopy-gen=true
|
||||||
|
|
||||||
// WeightedRoundRobin holds the weighted round-robin configuration.
|
// WeightedRoundRobin holds the weighted round-robin configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/services/#weighted-round-robin-service
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#weighted-round-robin-service
|
||||||
type WeightedRoundRobin struct {
|
type WeightedRoundRobin struct {
|
||||||
// Services defines the list of Kubernetes Service and/or TraefikService to load-balance, with weight.
|
// Services defines the list of Kubernetes Service and/or TraefikService to load-balance, with weight.
|
||||||
Services []Service `json:"services,omitempty"`
|
Services []Service `json:"services,omitempty"`
|
||||||
// Sticky defines whether sticky sessions are enabled.
|
// Sticky defines whether sticky sessions are enabled.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#stickiness-and-load-balancing
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#stickiness-and-load-balancing
|
||||||
Sticky *dynamic.Sticky `json:"sticky,omitempty"`
|
Sticky *dynamic.Sticky `json:"sticky,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
// +kubebuilder:storageversion
|
// +kubebuilder:storageversion
|
||||||
|
|
||||||
// TLSOption is the CRD implementation of a Traefik TLS Option, allowing to configure some parameters of the TLS connection.
|
// TLSOption is the CRD implementation of a Traefik TLS Option, allowing to configure some parameters of the TLS connection.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options
|
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options
|
||||||
type TLSOption struct {
|
type TLSOption struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
|
@ -32,10 +32,10 @@ type TLSOptionSpec struct {
|
||||||
// Default: None.
|
// Default: None.
|
||||||
MaxVersion string `json:"maxVersion,omitempty"`
|
MaxVersion string `json:"maxVersion,omitempty"`
|
||||||
// CipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2.
|
// CipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/tls/#cipher-suites
|
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#cipher-suites
|
||||||
CipherSuites []string `json:"cipherSuites,omitempty"`
|
CipherSuites []string `json:"cipherSuites,omitempty"`
|
||||||
// CurvePreferences defines the preferred elliptic curves in a specific order.
|
// CurvePreferences defines the preferred elliptic curves in a specific order.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/tls/#curve-preferences
|
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#curve-preferences
|
||||||
CurvePreferences []string `json:"curvePreferences,omitempty"`
|
CurvePreferences []string `json:"curvePreferences,omitempty"`
|
||||||
// ClientAuth defines the server's policy for TLS Client Authentication.
|
// ClientAuth defines the server's policy for TLS Client Authentication.
|
||||||
ClientAuth ClientAuth `json:"clientAuth,omitempty"`
|
ClientAuth ClientAuth `json:"clientAuth,omitempty"`
|
||||||
|
@ -46,7 +46,7 @@ type TLSOptionSpec struct {
|
||||||
// Deprecated: https://github.com/golang/go/issues/45430
|
// Deprecated: https://github.com/golang/go/issues/45430
|
||||||
PreferServerCipherSuites bool `json:"preferServerCipherSuites,omitempty"`
|
PreferServerCipherSuites bool `json:"preferServerCipherSuites,omitempty"`
|
||||||
// ALPNProtocols defines the list of supported application level protocols for the TLS handshake, in order of preference.
|
// ALPNProtocols defines the list of supported application level protocols for the TLS handshake, in order of preference.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/tls/#alpn-protocols
|
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#alpn-protocols
|
||||||
ALPNProtocols []string `json:"alpnProtocols,omitempty"`
|
ALPNProtocols []string `json:"alpnProtocols,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ import (
|
||||||
// TLSStore is the CRD implementation of a Traefik TLS Store.
|
// TLSStore is the CRD implementation of a Traefik TLS Store.
|
||||||
// For the time being, only the TLSStore named default is supported.
|
// For the time being, only the TLSStore named default is supported.
|
||||||
// This means that you cannot have two stores that are named default in different Kubernetes namespaces.
|
// This means that you cannot have two stores that are named default in different Kubernetes namespaces.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/tls/#certificates-stores
|
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#certificates-stores
|
||||||
type TLSStore struct {
|
type TLSStore struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
|
|
|
@ -13,72 +13,72 @@ type IngressRouteSpec struct {
|
||||||
Routes []Route `json:"routes"`
|
Routes []Route `json:"routes"`
|
||||||
// EntryPoints defines the list of entry point names to bind to.
|
// EntryPoints defines the list of entry point names to bind to.
|
||||||
// Entry points have to be configured in the static configuration.
|
// Entry points have to be configured in the static configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||||
// Default: all.
|
// Default: all.
|
||||||
EntryPoints []string `json:"entryPoints,omitempty"`
|
EntryPoints []string `json:"entryPoints,omitempty"`
|
||||||
// TLS defines the TLS configuration.
|
// TLS defines the TLS configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls
|
||||||
TLS *TLS `json:"tls,omitempty"`
|
TLS *TLS `json:"tls,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Route holds the HTTP route configuration.
|
// Route holds the HTTP route configuration.
|
||||||
type Route struct {
|
type Route struct {
|
||||||
// Match defines the router's rule.
|
// Match defines the router's rule.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#rule
|
||||||
Match string `json:"match"`
|
Match string `json:"match"`
|
||||||
// Kind defines the kind of the route.
|
// Kind defines the kind of the route.
|
||||||
// Rule is the only supported kind.
|
// Rule is the only supported kind.
|
||||||
// +kubebuilder:validation:Enum=Rule
|
// +kubebuilder:validation:Enum=Rule
|
||||||
Kind string `json:"kind"`
|
Kind string `json:"kind"`
|
||||||
// Priority defines the router's priority.
|
// Priority defines the router's priority.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#priority
|
||||||
Priority int `json:"priority,omitempty"`
|
Priority int `json:"priority,omitempty"`
|
||||||
// Services defines the list of Service.
|
// Services defines the list of Service.
|
||||||
// It can contain any combination of TraefikService and/or reference to a Kubernetes Service.
|
// It can contain any combination of TraefikService and/or reference to a Kubernetes Service.
|
||||||
Services []Service `json:"services,omitempty"`
|
Services []Service `json:"services,omitempty"`
|
||||||
// Middlewares defines the list of references to Middleware resources.
|
// Middlewares defines the list of references to Middleware resources.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-middleware
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-middleware
|
||||||
Middlewares []MiddlewareRef `json:"middlewares,omitempty"`
|
Middlewares []MiddlewareRef `json:"middlewares,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// TLS holds the TLS configuration.
|
// TLS holds the TLS configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls
|
||||||
type TLS struct {
|
type TLS struct {
|
||||||
// SecretName is the name of the referenced Kubernetes Secret to specify the certificate details.
|
// SecretName is the name of the referenced Kubernetes Secret to specify the certificate details.
|
||||||
SecretName string `json:"secretName,omitempty"`
|
SecretName string `json:"secretName,omitempty"`
|
||||||
// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection.
|
// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection.
|
||||||
// If not defined, the `default` TLSOption is used.
|
// If not defined, the `default` TLSOption is used.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options
|
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options
|
||||||
Options *TLSOptionRef `json:"options,omitempty"`
|
Options *TLSOptionRef `json:"options,omitempty"`
|
||||||
// Store defines the reference to the TLSStore, that will be used to store certificates.
|
// Store defines the reference to the TLSStore, that will be used to store certificates.
|
||||||
// Please note that only `default` TLSStore can be used.
|
// Please note that only `default` TLSStore can be used.
|
||||||
Store *TLSStoreRef `json:"store,omitempty"`
|
Store *TLSStoreRef `json:"store,omitempty"`
|
||||||
// CertResolver defines the name of the certificate resolver to use.
|
// CertResolver defines the name of the certificate resolver to use.
|
||||||
// Cert resolvers have to be configured in the static configuration.
|
// Cert resolvers have to be configured in the static configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers
|
// More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers
|
||||||
CertResolver string `json:"certResolver,omitempty"`
|
CertResolver string `json:"certResolver,omitempty"`
|
||||||
// Domains defines the list of domains that will be used to issue certificates.
|
// Domains defines the list of domains that will be used to issue certificates.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains
|
||||||
Domains []types.Domain `json:"domains,omitempty"`
|
Domains []types.Domain `json:"domains,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// TLSOptionRef is a reference to a TLSOption resource.
|
// TLSOptionRef is a reference to a TLSOption resource.
|
||||||
type TLSOptionRef struct {
|
type TLSOptionRef struct {
|
||||||
// Name defines the name of the referenced TLSOption.
|
// Name defines the name of the referenced TLSOption.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
// Namespace defines the namespace of the referenced TLSOption.
|
// Namespace defines the namespace of the referenced TLSOption.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsoption
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsoption
|
||||||
Namespace string `json:"namespace,omitempty"`
|
Namespace string `json:"namespace,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// TLSStoreRef is a reference to a TLSStore resource.
|
// TLSStoreRef is a reference to a TLSStore resource.
|
||||||
type TLSStoreRef struct {
|
type TLSStoreRef struct {
|
||||||
// Name defines the name of the referenced TLSStore.
|
// Name defines the name of the referenced TLSStore.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
// Namespace defines the namespace of the referenced TLSStore.
|
// Namespace defines the namespace of the referenced TLSStore.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-tlsstore
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-tlsstore
|
||||||
Namespace string `json:"namespace,omitempty"`
|
Namespace string `json:"namespace,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,7 +95,7 @@ type LoadBalancerSpec struct {
|
||||||
// Namespace defines the namespace of the referenced Kubernetes Service or TraefikService.
|
// Namespace defines the namespace of the referenced Kubernetes Service or TraefikService.
|
||||||
Namespace string `json:"namespace,omitempty"`
|
Namespace string `json:"namespace,omitempty"`
|
||||||
// Sticky defines the sticky sessions configuration.
|
// Sticky defines the sticky sessions configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/services/#sticky-sessions
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#sticky-sessions
|
||||||
Sticky *dynamic.Sticky `json:"sticky,omitempty"`
|
Sticky *dynamic.Sticky `json:"sticky,omitempty"`
|
||||||
// Port defines the port of a Kubernetes Service.
|
// Port defines the port of a Kubernetes Service.
|
||||||
// This can be a reference to a named port.
|
// This can be a reference to a named port.
|
||||||
|
|
|
@ -13,21 +13,21 @@ type IngressRouteTCPSpec struct {
|
||||||
Routes []RouteTCP `json:"routes"`
|
Routes []RouteTCP `json:"routes"`
|
||||||
// EntryPoints defines the list of entry point names to bind to.
|
// EntryPoints defines the list of entry point names to bind to.
|
||||||
// Entry points have to be configured in the static configuration.
|
// Entry points have to be configured in the static configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||||
// Default: all.
|
// Default: all.
|
||||||
EntryPoints []string `json:"entryPoints,omitempty"`
|
EntryPoints []string `json:"entryPoints,omitempty"`
|
||||||
// TLS defines the TLS configuration on a layer 4 / TCP Route.
|
// TLS defines the TLS configuration on a layer 4 / TCP Route.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls_1
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls_1
|
||||||
TLS *TLSTCP `json:"tls,omitempty"`
|
TLS *TLSTCP `json:"tls,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// RouteTCP holds the TCP route configuration.
|
// RouteTCP holds the TCP route configuration.
|
||||||
type RouteTCP struct {
|
type RouteTCP struct {
|
||||||
// Match defines the router's rule.
|
// Match defines the router's rule.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#rule_1
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#rule_1
|
||||||
Match string `json:"match"`
|
Match string `json:"match"`
|
||||||
// Priority defines the router's priority.
|
// Priority defines the router's priority.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#priority_1
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#priority_1
|
||||||
Priority int `json:"priority,omitempty"`
|
Priority int `json:"priority,omitempty"`
|
||||||
// Services defines the list of TCP services.
|
// Services defines the list of TCP services.
|
||||||
Services []ServiceTCP `json:"services,omitempty"`
|
Services []ServiceTCP `json:"services,omitempty"`
|
||||||
|
@ -36,7 +36,7 @@ type RouteTCP struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// TLSTCP holds the TLS configuration for an IngressRouteTCP.
|
// TLSTCP holds the TLS configuration for an IngressRouteTCP.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#tls_1
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#tls_1
|
||||||
type TLSTCP struct {
|
type TLSTCP struct {
|
||||||
// SecretName is the name of the referenced Kubernetes Secret to specify the certificate details.
|
// SecretName is the name of the referenced Kubernetes Secret to specify the certificate details.
|
||||||
SecretName string `json:"secretName,omitempty"`
|
SecretName string `json:"secretName,omitempty"`
|
||||||
|
@ -44,17 +44,17 @@ type TLSTCP struct {
|
||||||
Passthrough bool `json:"passthrough,omitempty"`
|
Passthrough bool `json:"passthrough,omitempty"`
|
||||||
// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection.
|
// Options defines the reference to a TLSOption, that specifies the parameters of the TLS connection.
|
||||||
// If not defined, the `default` TLSOption is used.
|
// If not defined, the `default` TLSOption is used.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options
|
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options
|
||||||
Options *ObjectReference `json:"options,omitempty"`
|
Options *ObjectReference `json:"options,omitempty"`
|
||||||
// Store defines the reference to the TLSStore, that will be used to store certificates.
|
// Store defines the reference to the TLSStore, that will be used to store certificates.
|
||||||
// Please note that only `default` TLSStore can be used.
|
// Please note that only `default` TLSStore can be used.
|
||||||
Store *ObjectReference `json:"store,omitempty"`
|
Store *ObjectReference `json:"store,omitempty"`
|
||||||
// CertResolver defines the name of the certificate resolver to use.
|
// CertResolver defines the name of the certificate resolver to use.
|
||||||
// Cert resolvers have to be configured in the static configuration.
|
// Cert resolvers have to be configured in the static configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/acme/#certificate-resolvers
|
// More info: https://doc.traefik.io/traefik/v2.11/https/acme/#certificate-resolvers
|
||||||
CertResolver string `json:"certResolver,omitempty"`
|
CertResolver string `json:"certResolver,omitempty"`
|
||||||
// Domains defines the list of domains that will be used to issue certificates.
|
// Domains defines the list of domains that will be used to issue certificates.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/routers/#domains
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/routers/#domains
|
||||||
Domains []types.Domain `json:"domains,omitempty"`
|
Domains []types.Domain `json:"domains,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,7 +76,7 @@ type ServiceTCP struct {
|
||||||
// A negative value means an infinite deadline (i.e. the reading capability is never closed).
|
// A negative value means an infinite deadline (i.e. the reading capability is never closed).
|
||||||
TerminationDelay *int `json:"terminationDelay,omitempty"`
|
TerminationDelay *int `json:"terminationDelay,omitempty"`
|
||||||
// ProxyProtocol defines the PROXY protocol configuration.
|
// ProxyProtocol defines the PROXY protocol configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/services/#proxy-protocol
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#proxy-protocol
|
||||||
ProxyProtocol *dynamic.ProxyProtocol `json:"proxyProtocol,omitempty"`
|
ProxyProtocol *dynamic.ProxyProtocol `json:"proxyProtocol,omitempty"`
|
||||||
// NativeLB controls, when creating the load-balancer,
|
// NativeLB controls, when creating the load-balancer,
|
||||||
// whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP.
|
// whether the LB's children are directly the pods IPs or if the only child is the Kubernetes Service clusterIP.
|
||||||
|
|
|
@ -11,7 +11,7 @@ type IngressRouteUDPSpec struct {
|
||||||
Routes []RouteUDP `json:"routes"`
|
Routes []RouteUDP `json:"routes"`
|
||||||
// EntryPoints defines the list of entry point names to bind to.
|
// EntryPoints defines the list of entry point names to bind to.
|
||||||
// Entry points have to be configured in the static configuration.
|
// Entry points have to be configured in the static configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/entrypoints/
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/entrypoints/
|
||||||
// Default: all.
|
// Default: all.
|
||||||
EntryPoints []string `json:"entryPoints,omitempty"`
|
EntryPoints []string `json:"entryPoints,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ import (
|
||||||
// +kubebuilder:storageversion
|
// +kubebuilder:storageversion
|
||||||
|
|
||||||
// Middleware is the CRD implementation of a Traefik Middleware.
|
// Middleware is the CRD implementation of a Traefik Middleware.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/overview/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/overview/
|
||||||
type Middleware struct {
|
type Middleware struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
|
@ -58,7 +58,7 @@ type MiddlewareSpec struct {
|
||||||
|
|
||||||
// ErrorPage holds the custom error middleware configuration.
|
// ErrorPage holds the custom error middleware configuration.
|
||||||
// This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes.
|
// This middleware returns a custom page in lieu of the default, according to configured ranges of HTTP Status codes.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/
|
||||||
type ErrorPage struct {
|
type ErrorPage struct {
|
||||||
// Status defines which status or range of statuses should result in an error page.
|
// Status defines which status or range of statuses should result in an error page.
|
||||||
// It can be either a status code as a number (500),
|
// It can be either a status code as a number (500),
|
||||||
|
@ -67,7 +67,7 @@ type ErrorPage struct {
|
||||||
// or a combination of the two (404,418,500-599).
|
// or a combination of the two (404,418,500-599).
|
||||||
Status []string `json:"status,omitempty"`
|
Status []string `json:"status,omitempty"`
|
||||||
// Service defines the reference to a Kubernetes Service that will serve the error page.
|
// Service defines the reference to a Kubernetes Service that will serve the error page.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/errorpages/#service
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/errorpages/#service
|
||||||
Service Service `json:"service,omitempty"`
|
Service Service `json:"service,omitempty"`
|
||||||
// Query defines the URL for the error page (hosted by service).
|
// Query defines the URL for the error page (hosted by service).
|
||||||
// The {status} variable can be used in order to insert the status code in the URL.
|
// The {status} variable can be used in order to insert the status code in the URL.
|
||||||
|
@ -92,7 +92,7 @@ type CircuitBreaker struct {
|
||||||
|
|
||||||
// Chain holds the configuration of the chain middleware.
|
// Chain holds the configuration of the chain middleware.
|
||||||
// This middleware enables to define reusable combinations of other pieces of middleware.
|
// This middleware enables to define reusable combinations of other pieces of middleware.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/chain/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/chain/
|
||||||
type Chain struct {
|
type Chain struct {
|
||||||
// Middlewares is the list of MiddlewareRef which composes the chain.
|
// Middlewares is the list of MiddlewareRef which composes the chain.
|
||||||
Middlewares []MiddlewareRef `json:"middlewares,omitempty"`
|
Middlewares []MiddlewareRef `json:"middlewares,omitempty"`
|
||||||
|
@ -102,7 +102,7 @@ type Chain struct {
|
||||||
|
|
||||||
// BasicAuth holds the basic auth middleware configuration.
|
// BasicAuth holds the basic auth middleware configuration.
|
||||||
// This middleware restricts access to your services to known users.
|
// This middleware restricts access to your services to known users.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/
|
||||||
type BasicAuth struct {
|
type BasicAuth struct {
|
||||||
// Secret is the name of the referenced Kubernetes Secret containing user credentials.
|
// Secret is the name of the referenced Kubernetes Secret containing user credentials.
|
||||||
Secret string `json:"secret,omitempty"`
|
Secret string `json:"secret,omitempty"`
|
||||||
|
@ -113,7 +113,7 @@ type BasicAuth struct {
|
||||||
// Default: false.
|
// Default: false.
|
||||||
RemoveHeader bool `json:"removeHeader,omitempty"`
|
RemoveHeader bool `json:"removeHeader,omitempty"`
|
||||||
// HeaderField defines a header field to store the authenticated user.
|
// HeaderField defines a header field to store the authenticated user.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield
|
||||||
HeaderField string `json:"headerField,omitempty"`
|
HeaderField string `json:"headerField,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ type BasicAuth struct {
|
||||||
|
|
||||||
// DigestAuth holds the digest auth middleware configuration.
|
// DigestAuth holds the digest auth middleware configuration.
|
||||||
// This middleware restricts access to your services to known users.
|
// This middleware restricts access to your services to known users.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/digestauth/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/digestauth/
|
||||||
type DigestAuth struct {
|
type DigestAuth struct {
|
||||||
// Secret is the name of the referenced Kubernetes Secret containing user credentials.
|
// Secret is the name of the referenced Kubernetes Secret containing user credentials.
|
||||||
Secret string `json:"secret,omitempty"`
|
Secret string `json:"secret,omitempty"`
|
||||||
|
@ -131,7 +131,7 @@ type DigestAuth struct {
|
||||||
// Default: traefik.
|
// Default: traefik.
|
||||||
Realm string `json:"realm,omitempty"`
|
Realm string `json:"realm,omitempty"`
|
||||||
// HeaderField defines a header field to store the authenticated user.
|
// HeaderField defines a header field to store the authenticated user.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/basicauth/#headerfield
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/basicauth/#headerfield
|
||||||
HeaderField string `json:"headerField,omitempty"`
|
HeaderField string `json:"headerField,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ type DigestAuth struct {
|
||||||
|
|
||||||
// ForwardAuth holds the forward auth middleware configuration.
|
// ForwardAuth holds the forward auth middleware configuration.
|
||||||
// This middleware delegates the request authentication to a Service.
|
// This middleware delegates the request authentication to a Service.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/
|
||||||
type ForwardAuth struct {
|
type ForwardAuth struct {
|
||||||
// Address defines the authentication server address.
|
// Address defines the authentication server address.
|
||||||
Address string `json:"address,omitempty"`
|
Address string `json:"address,omitempty"`
|
||||||
|
@ -148,7 +148,7 @@ type ForwardAuth struct {
|
||||||
// AuthResponseHeaders defines the list of headers to copy from the authentication server response and set on forwarded request, replacing any existing conflicting headers.
|
// AuthResponseHeaders defines the list of headers to copy from the authentication server response and set on forwarded request, replacing any existing conflicting headers.
|
||||||
AuthResponseHeaders []string `json:"authResponseHeaders,omitempty"`
|
AuthResponseHeaders []string `json:"authResponseHeaders,omitempty"`
|
||||||
// AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex.
|
// AuthResponseHeadersRegex defines the regex to match headers to copy from the authentication server response and set on forwarded request, after stripping all headers that match the regex.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/forwardauth/#authresponseheadersregex
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/forwardauth/#authresponseheadersregex
|
||||||
AuthResponseHeadersRegex string `json:"authResponseHeadersRegex,omitempty"`
|
AuthResponseHeadersRegex string `json:"authResponseHeadersRegex,omitempty"`
|
||||||
// AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server.
|
// AuthRequestHeaders defines the list of the headers to copy from the request to the authentication server.
|
||||||
// If not set or empty then all request headers are passed.
|
// If not set or empty then all request headers are passed.
|
||||||
|
@ -174,7 +174,7 @@ type ClientTLS struct {
|
||||||
|
|
||||||
// RateLimit holds the rate limit configuration.
|
// RateLimit holds the rate limit configuration.
|
||||||
// This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is.
|
// This middleware ensures that services will receive a fair amount of requests, and allows one to define what fair is.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/ratelimit/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/ratelimit/
|
||||||
type RateLimit struct {
|
type RateLimit struct {
|
||||||
// Average is the maximum rate, by default in requests/s, allowed for the given source.
|
// Average is the maximum rate, by default in requests/s, allowed for the given source.
|
||||||
// It defaults to 0, which means no rate limiting.
|
// It defaults to 0, which means no rate limiting.
|
||||||
|
@ -198,7 +198,7 @@ type RateLimit struct {
|
||||||
// Retry holds the retry middleware configuration.
|
// Retry holds the retry middleware configuration.
|
||||||
// This middleware reissues requests a given number of times to a backend server if that server does not reply.
|
// This middleware reissues requests a given number of times to a backend server if that server does not reply.
|
||||||
// As soon as the server answers, the middleware stops retrying, regardless of the response status.
|
// As soon as the server answers, the middleware stops retrying, regardless of the response status.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/http/retry/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/http/retry/
|
||||||
type Retry struct {
|
type Retry struct {
|
||||||
// Attempts defines how many times the request should be retried.
|
// Attempts defines how many times the request should be retried.
|
||||||
Attempts int `json:"attempts,omitempty"`
|
Attempts int `json:"attempts,omitempty"`
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
|
||||||
|
|
||||||
// MiddlewareTCP is the CRD implementation of a Traefik TCP middleware.
|
// MiddlewareTCP is the CRD implementation of a Traefik TCP middleware.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/overview/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/overview/
|
||||||
type MiddlewareTCP struct {
|
type MiddlewareTCP struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
|
@ -28,11 +28,11 @@ type MiddlewareTCPSpec struct {
|
||||||
// IPWhiteList defines the IPWhiteList middleware configuration.
|
// IPWhiteList defines the IPWhiteList middleware configuration.
|
||||||
// This middleware accepts/refuses connections based on the client IP.
|
// This middleware accepts/refuses connections based on the client IP.
|
||||||
// Deprecated: please use IPAllowList instead.
|
// Deprecated: please use IPAllowList instead.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/tcp/ipwhitelist/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipwhitelist/
|
||||||
IPWhiteList *dynamic.TCPIPWhiteList `json:"ipWhiteList,omitempty"`
|
IPWhiteList *dynamic.TCPIPWhiteList `json:"ipWhiteList,omitempty"`
|
||||||
// IPAllowList defines the IPAllowList middleware configuration.
|
// IPAllowList defines the IPAllowList middleware configuration.
|
||||||
// This middleware accepts/refuses connections based on the client IP.
|
// This middleware accepts/refuses connections based on the client IP.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/middlewares/tcp/ipallowlist/
|
// More info: https://doc.traefik.io/traefik/v2.11/middlewares/tcp/ipallowlist/
|
||||||
IPAllowList *dynamic.TCPIPAllowList `json:"ipAllowList,omitempty"`
|
IPAllowList *dynamic.TCPIPAllowList `json:"ipAllowList,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ import (
|
||||||
// ServersTransport is the CRD implementation of a ServersTransport.
|
// ServersTransport is the CRD implementation of a ServersTransport.
|
||||||
// If no serversTransport is specified, the default@internal will be used.
|
// If no serversTransport is specified, the default@internal will be used.
|
||||||
// The default@internal serversTransport is created from the static configuration.
|
// The default@internal serversTransport is created from the static configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/services/#serverstransport_1
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#serverstransport_1
|
||||||
type ServersTransport struct {
|
type ServersTransport struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
|
|
|
@ -13,7 +13,7 @@ import (
|
||||||
// TraefikService object allows to:
|
// TraefikService object allows to:
|
||||||
// - Apply weight to Services on load-balancing
|
// - Apply weight to Services on load-balancing
|
||||||
// - Mirror traffic on services
|
// - Mirror traffic on services
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#kind-traefikservice
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#kind-traefikservice
|
||||||
type TraefikService struct {
|
type TraefikService struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
|
@ -49,7 +49,7 @@ type TraefikServiceSpec struct {
|
||||||
// +k8s:deepcopy-gen=true
|
// +k8s:deepcopy-gen=true
|
||||||
|
|
||||||
// Mirroring holds the mirroring service configuration.
|
// Mirroring holds the mirroring service configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/services/#mirroring-service
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#mirroring-service
|
||||||
type Mirroring struct {
|
type Mirroring struct {
|
||||||
LoadBalancerSpec `json:",inline"`
|
LoadBalancerSpec `json:",inline"`
|
||||||
|
|
||||||
|
@ -75,11 +75,11 @@ type MirrorService struct {
|
||||||
// +k8s:deepcopy-gen=true
|
// +k8s:deepcopy-gen=true
|
||||||
|
|
||||||
// WeightedRoundRobin holds the weighted round-robin configuration.
|
// WeightedRoundRobin holds the weighted round-robin configuration.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/services/#weighted-round-robin-service
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/services/#weighted-round-robin-service
|
||||||
type WeightedRoundRobin struct {
|
type WeightedRoundRobin struct {
|
||||||
// Services defines the list of Kubernetes Service and/or TraefikService to load-balance, with weight.
|
// Services defines the list of Kubernetes Service and/or TraefikService to load-balance, with weight.
|
||||||
Services []Service `json:"services,omitempty"`
|
Services []Service `json:"services,omitempty"`
|
||||||
// Sticky defines whether sticky sessions are enabled.
|
// Sticky defines whether sticky sessions are enabled.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/routing/providers/kubernetes-crd/#stickiness-and-load-balancing
|
// More info: https://doc.traefik.io/traefik/v2.11/routing/providers/kubernetes-crd/#stickiness-and-load-balancing
|
||||||
Sticky *dynamic.Sticky `json:"sticky,omitempty"`
|
Sticky *dynamic.Sticky `json:"sticky,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
// +kubebuilder:storageversion
|
// +kubebuilder:storageversion
|
||||||
|
|
||||||
// TLSOption is the CRD implementation of a Traefik TLS Option, allowing to configure some parameters of the TLS connection.
|
// TLSOption is the CRD implementation of a Traefik TLS Option, allowing to configure some parameters of the TLS connection.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/tls/#tls-options
|
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#tls-options
|
||||||
type TLSOption struct {
|
type TLSOption struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
|
@ -32,10 +32,10 @@ type TLSOptionSpec struct {
|
||||||
// Default: None.
|
// Default: None.
|
||||||
MaxVersion string `json:"maxVersion,omitempty"`
|
MaxVersion string `json:"maxVersion,omitempty"`
|
||||||
// CipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2.
|
// CipherSuites defines the list of supported cipher suites for TLS versions up to TLS 1.2.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/tls/#cipher-suites
|
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#cipher-suites
|
||||||
CipherSuites []string `json:"cipherSuites,omitempty"`
|
CipherSuites []string `json:"cipherSuites,omitempty"`
|
||||||
// CurvePreferences defines the preferred elliptic curves in a specific order.
|
// CurvePreferences defines the preferred elliptic curves in a specific order.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/tls/#curve-preferences
|
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#curve-preferences
|
||||||
CurvePreferences []string `json:"curvePreferences,omitempty"`
|
CurvePreferences []string `json:"curvePreferences,omitempty"`
|
||||||
// ClientAuth defines the server's policy for TLS Client Authentication.
|
// ClientAuth defines the server's policy for TLS Client Authentication.
|
||||||
ClientAuth ClientAuth `json:"clientAuth,omitempty"`
|
ClientAuth ClientAuth `json:"clientAuth,omitempty"`
|
||||||
|
@ -46,7 +46,7 @@ type TLSOptionSpec struct {
|
||||||
// Deprecated: https://github.com/golang/go/issues/45430
|
// Deprecated: https://github.com/golang/go/issues/45430
|
||||||
PreferServerCipherSuites bool `json:"preferServerCipherSuites,omitempty"`
|
PreferServerCipherSuites bool `json:"preferServerCipherSuites,omitempty"`
|
||||||
// ALPNProtocols defines the list of supported application level protocols for the TLS handshake, in order of preference.
|
// ALPNProtocols defines the list of supported application level protocols for the TLS handshake, in order of preference.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/tls/#alpn-protocols
|
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#alpn-protocols
|
||||||
ALPNProtocols []string `json:"alpnProtocols,omitempty"`
|
ALPNProtocols []string `json:"alpnProtocols,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ import (
|
||||||
// TLSStore is the CRD implementation of a Traefik TLS Store.
|
// TLSStore is the CRD implementation of a Traefik TLS Store.
|
||||||
// For the time being, only the TLSStore named default is supported.
|
// For the time being, only the TLSStore named default is supported.
|
||||||
// This means that you cannot have two stores that are named default in different Kubernetes namespaces.
|
// This means that you cannot have two stores that are named default in different Kubernetes namespaces.
|
||||||
// More info: https://doc.traefik.io/traefik/v2.10/https/tls/#certificates-stores
|
// More info: https://doc.traefik.io/traefik/v2.11/https/tls/#certificates-stores
|
||||||
type TLSStore struct {
|
type TLSStore struct {
|
||||||
metav1.TypeMeta `json:",inline"`
|
metav1.TypeMeta `json:",inline"`
|
||||||
// Standard object's metadata.
|
// Standard object's metadata.
|
||||||
|
|
|
@ -4,11 +4,11 @@ RepositoryName = "traefik"
|
||||||
OutputType = "file"
|
OutputType = "file"
|
||||||
FileName = "traefik_changelog.md"
|
FileName = "traefik_changelog.md"
|
||||||
|
|
||||||
# example new bugfix v2.10.7
|
# example new bugfix v2.11.1
|
||||||
CurrentRef = "v2.10"
|
CurrentRef = "v2.11"
|
||||||
PreviousRef = "v2.10.6"
|
PreviousRef = "v2.11.0"
|
||||||
BaseBranch = "v2.10"
|
BaseBranch = "v2.11"
|
||||||
FutureCurrentRefName = "v2.10.7"
|
FutureCurrentRefName = "v2.11.1"
|
||||||
|
|
||||||
ThresholdPreviousRef = 10
|
ThresholdPreviousRef = 10
|
||||||
ThresholdCurrentRef = 10
|
ThresholdCurrentRef = 10
|
||||||
|
|
|
@ -4,11 +4,11 @@ RepositoryName = "traefik"
|
||||||
OutputType = "file"
|
OutputType = "file"
|
||||||
FileName = "traefik_changelog.md"
|
FileName = "traefik_changelog.md"
|
||||||
|
|
||||||
# example final release of v2.10.0
|
# example final release of v2.11.0
|
||||||
CurrentRef = "v2.10"
|
CurrentRef = "v2.11"
|
||||||
PreviousRef = "v2.10.0-rc1"
|
PreviousRef = "v2.11.0-rc1"
|
||||||
BaseBranch = "v2.10"
|
BaseBranch = "v2.11"
|
||||||
FutureCurrentRefName = "v2.10.0"
|
FutureCurrentRefName = "v2.11.0"
|
||||||
|
|
||||||
ThresholdPreviousRef = 10
|
ThresholdPreviousRef = 10
|
||||||
ThresholdCurrentRef = 10
|
ThresholdCurrentRef = 10
|
||||||
|
|
|
@ -4,11 +4,11 @@ RepositoryName = "traefik"
|
||||||
OutputType = "file"
|
OutputType = "file"
|
||||||
FileName = "traefik_changelog.md"
|
FileName = "traefik_changelog.md"
|
||||||
|
|
||||||
# example final release of v2.10.0
|
# example final release of v2.11.0
|
||||||
CurrentRef = "v2.10.0-rc1"
|
CurrentRef = "v2.11.0-rc1"
|
||||||
PreviousRef = "v2.9.0-rc1"
|
PreviousRef = "v2.10.0-rc1"
|
||||||
BaseBranch = "master"
|
BaseBranch = "master"
|
||||||
FutureCurrentRefName = "v2.10.0-rc1"
|
FutureCurrentRefName = "v2.11.0-rc1"
|
||||||
|
|
||||||
ThresholdPreviousRef = 10
|
ThresholdPreviousRef = 10
|
||||||
ThresholdCurrentRef = 10
|
ThresholdCurrentRef = 10
|
||||||
|
|
|
@ -4,11 +4,11 @@ RepositoryName = "traefik"
|
||||||
OutputType = "file"
|
OutputType = "file"
|
||||||
FileName = "traefik_changelog.md"
|
FileName = "traefik_changelog.md"
|
||||||
|
|
||||||
# example RC1 of v2.9.0
|
# example RC1 of v2.11.0
|
||||||
CurrentRef = "master"
|
CurrentRef = "master"
|
||||||
PreviousRef = "v2.8.0-rc1"
|
PreviousRef = "v2.10.0-rc1"
|
||||||
BaseBranch = "master"
|
BaseBranch = "master"
|
||||||
FutureCurrentRefName = "v2.9.0-rc1"
|
FutureCurrentRefName = "v2.11.0-rc1"
|
||||||
|
|
||||||
ThresholdPreviousRef = 10
|
ThresholdPreviousRef = 10
|
||||||
ThresholdCurrentRef = 10
|
ThresholdCurrentRef = 10
|
||||||
|
|
|
@ -4,11 +4,11 @@ RepositoryName = "traefik"
|
||||||
OutputType = "file"
|
OutputType = "file"
|
||||||
FileName = "traefik_changelog.md"
|
FileName = "traefik_changelog.md"
|
||||||
|
|
||||||
# example RC2 of v2.10.0
|
# example RC2 of v2.11.0
|
||||||
CurrentRef = "v2.10"
|
CurrentRef = "v2.11"
|
||||||
PreviousRef = "v2.10.0-rc1"
|
PreviousRef = "v2.11.0-rc1"
|
||||||
BaseBranch = "v2.10"
|
BaseBranch = "v2.11"
|
||||||
FutureCurrentRefName = "v2.10.0-rc2"
|
FutureCurrentRefName = "v2.11.0-rc2"
|
||||||
|
|
||||||
ThresholdPreviousRef = 10
|
ThresholdPreviousRef = 10
|
||||||
ThresholdCurrentRef = 10
|
ThresholdCurrentRef = 10
|
||||||
|
|
Loading…
Reference in a new issue