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: patches:
- patch: | - patch: |
- op: add - op: add
path: /spec/values/service path: /spec/values/service/spec/loadBalancerIP
value: value: 10.0.2.2
spec:
loadBalancerIP: 10.0.2.2
target: target:
kind: HelmRelease kind: HelmRelease
name: traefik name: traefik

View File

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