Preserve client source ip over traefik

This commit is contained in:
Dreaded_X 2025-01-06 05:12:20 +01:00
parent e69769ff79
commit 547fafaeab
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4
2 changed files with 5 additions and 7 deletions

View File

@ -20,10 +20,8 @@ spec:
patches:
- patch: |
- op: add
path: /spec/values/service
value:
spec:
loadBalancerIP: 10.0.2.2
path: /spec/values/service/spec/loadBalancerIP
value: 10.0.2.2
target:
kind: HelmRelease
name: traefik

View File

@ -56,9 +56,9 @@ spec:
# There are likely better ways of handling that, but for now this works
# TODO(Tim): Figure out how to properly forward the IP
# hostNetwork: true
# service:
# spec:
# externalTrafficPolicy: Local
service:
spec:
externalTrafficPolicy: Local
# updateStrategy:
# rollingUpdate:
# maxUnavailable: 2