summaryrefslogtreecommitdiff
path: root/f3s/traefik-config/helm-chart
diff options
context:
space:
mode:
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"