argocd/infra/traefik/helmchartconfig.yaml

17 lines
471 B
YAML
Raw Normal View History

# Trust X-Forwarded-For from Caddy (10.0.0.10), so apps see the real client IP
# instead of Caddy's. Requests reach Traefik through ServiceLB, which rewrites
# the source to a node or pod address, hence the two ranges.
apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
name: traefik
namespace: kube-system
spec:
valuesContent: |-
ports:
web:
forwardedHeaders:
trustedIPs:
- 10.0.0.0/24
- 10.42.0.0/16