mirror of
https://github.com/traefik/traefik.git
synced 2026-06-17 19:09:29 +03:00
Align Helm chart documented values with chart v41
This commit is contained in:
@@ -26,11 +26,10 @@ log:
|
|||||||
```
|
```
|
||||||
|
|
||||||
```yaml tab="Helm Chart Values"
|
```yaml tab="Helm Chart Values"
|
||||||
logs:
|
log:
|
||||||
general:
|
filePath: "/path/to/log-file.log"
|
||||||
filePath: "/path/to/log-file.log"
|
format: json
|
||||||
format: json
|
level: INFO
|
||||||
level: INFO
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Access Logs
|
## Access Logs
|
||||||
@@ -78,23 +77,22 @@ accessLog:
|
|||||||
|
|
||||||
```yaml tab="Helm Chart Values"
|
```yaml tab="Helm Chart Values"
|
||||||
# values.yaml
|
# values.yaml
|
||||||
logs:
|
accessLog:
|
||||||
access:
|
enabled: true
|
||||||
enabled: true
|
format: json
|
||||||
format: json
|
filters:
|
||||||
filters:
|
statusCodes:
|
||||||
statusCodes:
|
- "200"
|
||||||
- "200"
|
- "400-404"
|
||||||
- "400-404"
|
- "500-503"
|
||||||
- "500-503"
|
fields:
|
||||||
fields:
|
names:
|
||||||
|
ClientUsername: drop
|
||||||
|
headers:
|
||||||
|
defaultMode: keep
|
||||||
names:
|
names:
|
||||||
ClientUsername: drop
|
User-Agent: redact
|
||||||
headers:
|
Content-Type: keep
|
||||||
defaultMode: keep
|
|
||||||
names:
|
|
||||||
User-Agent: redact
|
|
||||||
Content-Type: keep
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Per-Router Access Logs
|
## Per-Router Access Logs
|
||||||
|
|||||||
@@ -178,12 +178,11 @@ gateway:
|
|||||||
group: ""
|
group: ""
|
||||||
|
|
||||||
# Enable Observability
|
# Enable Observability
|
||||||
logs:
|
log:
|
||||||
general:
|
level: INFO
|
||||||
level: INFO
|
# This enables access logs, outputting them to Traefik's standard output by default. The [Access Logs Documentation](https://doc.traefik.io/traefik/observability/access-logs/) covers formatting, filtering, and output options.
|
||||||
# This enables access logs, outputting them to Traefik's standard output by default. The [Access Logs Documentation](https://doc.traefik.io/traefik/observability/access-logs/) covers formatting, filtering, and output options.
|
accessLog:
|
||||||
access:
|
enabled: true
|
||||||
enabled: true
|
|
||||||
|
|
||||||
# Enables Prometheus for Metrics
|
# Enables Prometheus for Metrics
|
||||||
metrics:
|
metrics:
|
||||||
|
|||||||
Reference in New Issue
Block a user