mirror of
https://github.com/traefik/traefik.git
synced 2025-08-06 06:37:09 +02:00
Add constraints key limitations for label providers
This commit is contained in:
parent
117e0b4471
commit
2ed2123fc0
@ -270,6 +270,10 @@ created. If the expression is empty, all detected containers are included.
|
||||
The expression syntax is based on the `Label("key", "value")`, and `LabelRegex("key", "value")` functions,
|
||||
as well as the usual boolean logic, as shown in examples below.
|
||||
|
||||
!!! tip "Constraints key limitations"
|
||||
|
||||
Note that `traefik.*` is a reserved label namespace for configuration and can not be used as a key for custom constraints.
|
||||
|
||||
??? example "Constraints Expression Examples"
|
||||
|
||||
```toml
|
||||
|
@ -112,6 +112,10 @@ created. If the expression is empty, all detected services are included.
|
||||
The expression syntax is based on the ```Tag(`tag`)```, and ```TagRegex(`tag`)``` functions,
|
||||
as well as the usual boolean logic, as shown in examples below.
|
||||
|
||||
!!! tip "Constraints key limitations"
|
||||
|
||||
Note that `traefik.*` is a reserved label namespace for configuration and can not be used as a key for custom constraints.
|
||||
|
||||
??? example "Constraints Expression Examples"
|
||||
|
||||
```toml
|
||||
|
@ -191,6 +191,10 @@ created. If the expression is empty, all detected services are included.
|
||||
The expression syntax is based on the ```Tag(`tag`)```, and ```TagRegex(`tag`)``` functions,
|
||||
as well as the usual boolean logic, as shown in examples below.
|
||||
|
||||
!!! tip "Constraints key limitations"
|
||||
|
||||
Note that `traefik.*` is a reserved label namespace for configuration and can not be used as a key for custom constraints.
|
||||
|
||||
??? example "Constraints Expression Examples"
|
||||
|
||||
```toml
|
||||
|
@ -49,6 +49,10 @@ If the expression is empty, all detected containers are included.
|
||||
The expression syntax is based on the `Label("key", "value")`, and `LabelRegex("key", "value")` functions,
|
||||
as well as the usual boolean logic, as shown in examples below.
|
||||
|
||||
!!! tip "Constraints key limitations"
|
||||
|
||||
Note that `traefik.*` is a reserved label namespace for configuration and can not be used as a key for custom constraints.
|
||||
|
||||
??? example "Constraints Expression Examples"
|
||||
|
||||
```toml
|
||||
|
@ -276,6 +276,10 @@ created. If the expression is empty, all detected containers are included.
|
||||
The expression syntax is based on the `Label("key", "value")`, and `LabelRegex("key", "value")` functions,
|
||||
as well as the usual boolean logic, as shown in examples below.
|
||||
|
||||
!!! tip "Constraints key limitations"
|
||||
|
||||
Note that `traefik.*` is a reserved label namespace for configuration and can not be used as a key for custom constraints.
|
||||
|
||||
??? example "Constraints Expression Examples"
|
||||
|
||||
```toml
|
||||
|
Loading…
Reference in New Issue
Block a user