1
0
Fork 0
mirror of https://code.forgejo.org/infrastructure/documentation synced 2024-11-29 05:31:12 +00:00
infrastructure-documentation/k3s-host/traefik.yml
Earl Warren b40fd5bd3c
traefik: bump log to INFO
so that it shows which middleware are loaded and how they are interpreted
2024-10-22 12:59:28 +02:00

36 lines
817 B
YAML

apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: traefik
namespace: kube-system
spec:
valuesContent: |-
deployment:
replicas: 2
ports:
web:
port: 80
redirectTo:
port: websecure
priority: 1
ssh-next:
port: 2020
exposedPort: 2020
expose: true
service:
annotations:
metallb.universe.tf/loadBalancerIPs: $failover_ipv4,$failover_ipv6
spec:
externalTrafficPolicy: Local
ipFamilyPolicy: PreferDualStack
logs:
general:
level: INFO
access:
enabled: true
fields:
headers:
# https://github.com/traefik/traefik-helm-chart/blob/v25.0.0/traefik/values.yaml#L304-L308
names:
User-Agent: keep