From 6c1a4ea726ec0567d91fb3b3819c64b4e7de5449 Mon Sep 17 00:00:00 2001 From: Finn Date: Wed, 19 Mar 2025 20:03:22 -0700 Subject: [PATCH] Disable access logging --- helm/traefik/kustomization.yaml | 10 +++++++++- talos/k8s/operators/traefik/bundle.yaml | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/helm/traefik/kustomization.yaml b/helm/traefik/kustomization.yaml index 70d64d6..4a31b8a 100644 --- a/helm/traefik/kustomization.yaml +++ b/helm/traefik/kustomization.yaml @@ -7,7 +7,7 @@ helmCharts: version: 34.2.0 valuesInline: deployment: - replicas: 2 + replicas: 1 ports: websecure: hostPort: 443 @@ -17,4 +17,12 @@ helmCharts: providers: kubernetesCRD: allowCrossNamespace: true + logs: + access: + enabled: false + format: json + fields: + headers: + names: + User-Agent: keep repo: https://traefik.github.io/charts diff --git a/talos/k8s/operators/traefik/bundle.yaml b/talos/k8s/operators/traefik/bundle.yaml index 332c310..5c60124 100644 --- a/talos/k8s/operators/traefik/bundle.yaml +++ b/talos/k8s/operators/traefik/bundle.yaml @@ -142,7 +142,7 @@ metadata: namespace: traefik spec: minReadySeconds: 0 - replicas: 2 + replicas: 1 selector: matchLabels: app.kubernetes.io/instance: traefik-traefik