mirror of
https://github.com/traefik/traefik.git
synced 2025-08-06 14:47:09 +02:00
Merge branch v2.11 into v3.4
This commit is contained in:
commit
74eafcd044
@ -1,5 +1,5 @@
|
|||||||
# syntax=docker/dockerfile:1.2
|
# syntax=docker/dockerfile:1.2
|
||||||
FROM alpine:3.21
|
FROM alpine:3.22
|
||||||
|
|
||||||
RUN apk add --no-cache --no-progress ca-certificates tzdata
|
RUN apk add --no-cache --no-progress ca-certificates tzdata
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.21
|
FROM alpine:3.22
|
||||||
|
|
||||||
RUN apk --no-cache --no-progress add \
|
RUN apk --no-cache --no-progress add \
|
||||||
build-base \
|
build-base \
|
||||||
@ -9,9 +9,7 @@ RUN apk --no-cache --no-progress add \
|
|||||||
ruby \
|
ruby \
|
||||||
ruby-bigdecimal \
|
ruby-bigdecimal \
|
||||||
ruby-dev \
|
ruby-dev \
|
||||||
ruby-etc \
|
|
||||||
ruby-ffi \
|
ruby-ffi \
|
||||||
ruby-json \
|
|
||||||
zlib-dev
|
zlib-dev
|
||||||
|
|
||||||
RUN gem install nokogiri --version 1.18.6 --no-document -- --use-system-libraries
|
RUN gem install nokogiri --version 1.18.6 --no-document -- --use-system-libraries
|
||||||
|
@ -6,11 +6,12 @@ Below is a non-exhaustive list of versions and their maintenance status:
|
|||||||
|
|
||||||
| Version | Release Date | Active Support | Security Support |
|
| Version | Release Date | Active Support | Security Support |
|
||||||
|---------|--------------|--------------------|-------------------|
|
|---------|--------------|--------------------|-------------------|
|
||||||
| 3.3 | Jan 06, 2025 | Yes | Yes |
|
| 3.4 | May 05, 2025 | Yes | Yes |
|
||||||
|
| 3.3 | Jan 06, 2025 | Ended May 05, 2025 | No |
|
||||||
| 3.2 | Oct 28, 2024 | Ended Jan 06, 2025 | No |
|
| 3.2 | Oct 28, 2024 | Ended Jan 06, 2025 | No |
|
||||||
| 3.1 | Jul 15, 2024 | Ended Oct 28, 2024 | No |
|
| 3.1 | Jul 15, 2024 | Ended Oct 28, 2024 | No |
|
||||||
| 3.0 | Apr 29, 2024 | Ended Jul 15, 2024 | No |
|
| 3.0 | Apr 29, 2024 | Ended Jul 15, 2024 | No |
|
||||||
| 2.11 | Feb 12, 2024 | Ends Apr 29, 2025 | Ends Feb 01, 2026 |
|
| 2.11 | Feb 12, 2024 | Ended Apr 29, 2025 | Ends Feb 01, 2026 |
|
||||||
| 2.10 | Apr 24, 2023 | Ended Feb 12, 2024 | No |
|
| 2.10 | Apr 24, 2023 | Ended Feb 12, 2024 | No |
|
||||||
| 2.9 | Oct 03, 2022 | Ended Apr 24, 2023 | No |
|
| 2.9 | Oct 03, 2022 | Ended Apr 24, 2023 | No |
|
||||||
| 2.8 | Jun 29, 2022 | Ended Oct 03, 2022 | No |
|
| 2.8 | Jun 29, 2022 | Ended Oct 03, 2022 | No |
|
||||||
|
@ -1931,7 +1931,7 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
permanent:
|
permanent:
|
||||||
description: Permanent defines whether the redirection is permanent
|
description: Permanent defines whether the redirection is permanent
|
||||||
(301).
|
(308).
|
||||||
type: boolean
|
type: boolean
|
||||||
regex:
|
regex:
|
||||||
description: Regex defines the regex used to match and capture
|
description: Regex defines the regex used to match and capture
|
||||||
@ -1950,7 +1950,7 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
permanent:
|
permanent:
|
||||||
description: Permanent defines whether the redirection is permanent
|
description: Permanent defines whether the redirection is permanent
|
||||||
(301).
|
(308).
|
||||||
type: boolean
|
type: boolean
|
||||||
port:
|
port:
|
||||||
description: Port defines the port of the new URL.
|
description: Port defines the port of the new URL.
|
||||||
|
@ -2,6 +2,9 @@
|
|||||||
CODE GENERATED AUTOMATICALLY
|
CODE GENERATED AUTOMATICALLY
|
||||||
THIS FILE MUST NOT BE EDITED BY HAND
|
THIS FILE MUST NOT BE EDITED BY HAND
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
| Key (Path) | Value |
|
||||||
|
|------------|-------|
|
||||||
| `traefik/http/middlewares/Middleware01/addPrefix/prefix` | `foobar` |
|
| `traefik/http/middlewares/Middleware01/addPrefix/prefix` | `foobar` |
|
||||||
| `traefik/http/middlewares/Middleware02/basicAuth/headerField` | `foobar` |
|
| `traefik/http/middlewares/Middleware02/basicAuth/headerField` | `foobar` |
|
||||||
| `traefik/http/middlewares/Middleware02/basicAuth/realm` | `foobar` |
|
| `traefik/http/middlewares/Middleware02/basicAuth/realm` | `foobar` |
|
||||||
|
@ -8,6 +8,4 @@ description: "Read the technical documentation to learn the Traefik Dynamic Conf
|
|||||||
Dynamic configuration with KV stores.
|
Dynamic configuration with KV stores.
|
||||||
{: .subtitle }
|
{: .subtitle }
|
||||||
|
|
||||||
| Key (Path) | Value |
|
|
||||||
|----------------------------------------------------------------------------------------------|-------------|
|
|
||||||
--8<-- "content/reference/dynamic-configuration/kv-ref.md"
|
--8<-- "content/reference/dynamic-configuration/kv-ref.md"
|
||||||
|
@ -1163,7 +1163,7 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
permanent:
|
permanent:
|
||||||
description: Permanent defines whether the redirection is permanent
|
description: Permanent defines whether the redirection is permanent
|
||||||
(301).
|
(308).
|
||||||
type: boolean
|
type: boolean
|
||||||
regex:
|
regex:
|
||||||
description: Regex defines the regex used to match and capture
|
description: Regex defines the regex used to match and capture
|
||||||
@ -1182,7 +1182,7 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
permanent:
|
permanent:
|
||||||
description: Permanent defines whether the redirection is permanent
|
description: Permanent defines whether the redirection is permanent
|
||||||
(301).
|
(308).
|
||||||
type: boolean
|
type: boolean
|
||||||
port:
|
port:
|
||||||
description: Port defines the port of the new URL.
|
description: Port defines the port of the new URL.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM alpine:3.21
|
FROM alpine:3.22
|
||||||
|
|
||||||
ENV PATH="${PATH}:/venv/bin"
|
ENV PATH="${PATH}:/venv/bin"
|
||||||
|
|
||||||
|
@ -1931,7 +1931,7 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
permanent:
|
permanent:
|
||||||
description: Permanent defines whether the redirection is permanent
|
description: Permanent defines whether the redirection is permanent
|
||||||
(301).
|
(308).
|
||||||
type: boolean
|
type: boolean
|
||||||
regex:
|
regex:
|
||||||
description: Regex defines the regex used to match and capture
|
description: Regex defines the regex used to match and capture
|
||||||
@ -1950,7 +1950,7 @@ spec:
|
|||||||
properties:
|
properties:
|
||||||
permanent:
|
permanent:
|
||||||
description: Permanent defines whether the redirection is permanent
|
description: Permanent defines whether the redirection is permanent
|
||||||
(301).
|
(308).
|
||||||
type: boolean
|
type: boolean
|
||||||
port:
|
port:
|
||||||
description: Port defines the port of the new URL.
|
description: Port defines the port of the new URL.
|
||||||
|
@ -338,6 +338,11 @@ func genKVDynConfDoc(outputFile string) {
|
|||||||
CODE GENERATED AUTOMATICALLY
|
CODE GENERATED AUTOMATICALLY
|
||||||
THIS FILE MUST NOT BE EDITED BY HAND
|
THIS FILE MUST NOT BE EDITED BY HAND
|
||||||
-->
|
-->
|
||||||
|
`)
|
||||||
|
|
||||||
|
_, _ = fmt.Fprintf(file, `
|
||||||
|
| Key (Path) | Value |
|
||||||
|
|------------|-------|
|
||||||
`)
|
`)
|
||||||
|
|
||||||
for _, k := range keys {
|
for _, k := range keys {
|
||||||
|
@ -641,7 +641,7 @@ type RedirectRegex struct {
|
|||||||
Regex string `json:"regex,omitempty" toml:"regex,omitempty" yaml:"regex,omitempty"`
|
Regex string `json:"regex,omitempty" toml:"regex,omitempty" yaml:"regex,omitempty"`
|
||||||
// Replacement defines how to modify the URL to have the new target URL.
|
// Replacement defines how to modify the URL to have the new target URL.
|
||||||
Replacement string `json:"replacement,omitempty" toml:"replacement,omitempty" yaml:"replacement,omitempty"`
|
Replacement string `json:"replacement,omitempty" toml:"replacement,omitempty" yaml:"replacement,omitempty"`
|
||||||
// Permanent defines whether the redirection is permanent (301).
|
// Permanent defines whether the redirection is permanent (308).
|
||||||
Permanent bool `json:"permanent,omitempty" toml:"permanent,omitempty" yaml:"permanent,omitempty" export:"true"`
|
Permanent bool `json:"permanent,omitempty" toml:"permanent,omitempty" yaml:"permanent,omitempty" export:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -655,7 +655,7 @@ type RedirectScheme struct {
|
|||||||
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"`
|
||||||
// Port defines the port of the new URL.
|
// Port defines the port of the new URL.
|
||||||
Port string `json:"port,omitempty" toml:"port,omitempty" yaml:"port,omitempty" export:"true"`
|
Port string `json:"port,omitempty" toml:"port,omitempty" yaml:"port,omitempty" export:"true"`
|
||||||
// Permanent defines whether the redirection is permanent (301).
|
// Permanent defines whether the redirection is permanent (308).
|
||||||
Permanent bool `json:"permanent,omitempty" toml:"permanent,omitempty" yaml:"permanent,omitempty" export:"true"`
|
Permanent bool `json:"permanent,omitempty" toml:"permanent,omitempty" yaml:"permanent,omitempty" export:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,14 +21,14 @@ type Provider struct {
|
|||||||
Username string `description:"Username for authentication." json:"username,omitempty" toml:"username,omitempty" yaml:"username,omitempty" loggable:"false"`
|
Username string `description:"Username for authentication." json:"username,omitempty" toml:"username,omitempty" yaml:"username,omitempty" loggable:"false"`
|
||||||
Password string `description:"Password for authentication." json:"password,omitempty" toml:"password,omitempty" yaml:"password,omitempty" loggable:"false"`
|
Password string `description:"Password for authentication." json:"password,omitempty" toml:"password,omitempty" yaml:"password,omitempty" loggable:"false"`
|
||||||
DB int `description:"Database to be selected after connecting to the server." json:"db,omitempty" toml:"db,omitempty" yaml:"db,omitempty"`
|
DB int `description:"Database to be selected after connecting to the server." json:"db,omitempty" toml:"db,omitempty" yaml:"db,omitempty"`
|
||||||
Sentinel *Sentinel `description:"Enable Sentinel support." json:"sentinel,omitempty" toml:"sentinel,omitempty" yaml:"sentinel,omitempty"`
|
Sentinel *Sentinel `description:"Enable Sentinel support." json:"sentinel,omitempty" toml:"sentinel,omitempty" yaml:"sentinel,omitempty" export:"true"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sentinel holds the Redis Sentinel configuration.
|
// Sentinel holds the Redis Sentinel configuration.
|
||||||
type Sentinel struct {
|
type Sentinel struct {
|
||||||
MasterName string `description:"Name of the master." json:"masterName,omitempty" toml:"masterName,omitempty" yaml:"masterName,omitempty" export:"true"`
|
MasterName string `description:"Name of the master." json:"masterName,omitempty" toml:"masterName,omitempty" yaml:"masterName,omitempty" export:"true"`
|
||||||
Username string `description:"Username for Sentinel authentication." json:"username,omitempty" toml:"username,omitempty" yaml:"username,omitempty" export:"true"`
|
Username string `description:"Username for Sentinel authentication." json:"username,omitempty" toml:"username,omitempty" yaml:"username,omitempty" loggable:"false"`
|
||||||
Password string `description:"Password for Sentinel authentication." json:"password,omitempty" toml:"password,omitempty" yaml:"password,omitempty" export:"true"`
|
Password string `description:"Password for Sentinel authentication." json:"password,omitempty" toml:"password,omitempty" yaml:"password,omitempty" loggable:"false"`
|
||||||
|
|
||||||
LatencyStrategy bool `description:"Defines whether to route commands to the closest master or replica nodes (mutually exclusive with RandomStrategy and ReplicaStrategy)." json:"latencyStrategy,omitempty" toml:"latencyStrategy,omitempty" yaml:"latencyStrategy,omitempty" export:"true"`
|
LatencyStrategy bool `description:"Defines whether to route commands to the closest master or replica nodes (mutually exclusive with RandomStrategy and ReplicaStrategy)." json:"latencyStrategy,omitempty" toml:"latencyStrategy,omitempty" yaml:"latencyStrategy,omitempty" export:"true"`
|
||||||
RandomStrategy bool `description:"Defines whether to route commands randomly to master or replica nodes (mutually exclusive with LatencyStrategy and ReplicaStrategy)." json:"randomStrategy,omitempty" toml:"randomStrategy,omitempty" yaml:"randomStrategy,omitempty" export:"true"`
|
RandomStrategy bool `description:"Defines whether to route commands randomly to master or replica nodes (mutually exclusive with LatencyStrategy and ReplicaStrategy)." json:"randomStrategy,omitempty" toml:"randomStrategy,omitempty" yaml:"randomStrategy,omitempty" export:"true"`
|
||||||
|
Loading…
Reference in New Issue
Block a user