lty/k8s/traefik-config.yaml
pmc c85f6f2f9e
All checks were successful
Build and Deploy LTY / build-and-deploy (push) Successful in 56m21s
feat: enable Traefik access logs via HelmChartConfig
Adds k8s/traefik-config.yaml to enable JSON-format access logs on
the K3s built-in Traefik for diagnosing whether subv webhooks from
volcengine are dropped between ingress and Django, or simply not
sent. Drops Authorization/Cookie headers to avoid leaking secrets.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-28 13:58:31 +08:00

18 lines
341 B
YAML

apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: traefik
namespace: kube-system
spec:
valuesContent: |-
logs:
access:
enabled: true
format: json
fields:
headers:
defaultmode: keep
names:
Authorization: drop
Cookie: drop