summaryrefslogtreecommitdiff
path: root/f3s/traefik-config/helm-chart
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-29 08:48:14 +0200
committerPaul Buetow <paul@buetow.org>2026-01-29 08:48:14 +0200
commit26ba9b67ea9eb9705a1fcafbc06790e08bfb2957 (patch)
tree3b95ff1df208734c4c2c6f584ae98caee5569dbe /f3s/traefik-config/helm-chart
parent6234710e3389b1a98c10cc12e641cd56fb5895e1 (diff)
Add traefik-config for X-Forwarded-For header trust
Amp-Thread-ID: https://ampcode.com/threads/T-019c086d-c760-779d-b740-0f748094b62a Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'f3s/traefik-config/helm-chart')
-rw-r--r--f3s/traefik-config/helm-chart/Chart.yaml5
-rw-r--r--f3s/traefik-config/helm-chart/templates/helmchartconfig.yaml10
2 files changed, 15 insertions, 0 deletions
diff --git a/f3s/traefik-config/helm-chart/Chart.yaml b/f3s/traefik-config/helm-chart/Chart.yaml
new file mode 100644
index 0000000..333b097
--- /dev/null
+++ b/f3s/traefik-config/helm-chart/Chart.yaml
@@ -0,0 +1,5 @@
+apiVersion: v2
+name: traefik-config
+description: HelmChartConfig to customize k3s bundled Traefik ingress controller.
+version: 0.1.0
+appVersion: "1.0.0"
diff --git a/f3s/traefik-config/helm-chart/templates/helmchartconfig.yaml b/f3s/traefik-config/helm-chart/templates/helmchartconfig.yaml
new file mode 100644
index 0000000..9b4b8b2
--- /dev/null
+++ b/f3s/traefik-config/helm-chart/templates/helmchartconfig.yaml
@@ -0,0 +1,10 @@
+apiVersion: helm.cattle.io/v1
+kind: HelmChartConfig
+metadata:
+ name: traefik
+ namespace: kube-system
+spec:
+ valuesContent: |-
+ additionalArguments:
+ - "--entryPoints.web.forwardedHeaders.trustedIPs=192.168.0.0/16,10.0.0.0/8,172.16.0.0/12"
+ - "--entryPoints.websecure.forwardedHeaders.trustedIPs=192.168.0.0/16,10.0.0.0/8,172.16.0.0/12"