Make sure the real ip is forwarded through traefik

This commit is contained in:
Dreaded_X 2024-11-17 22:18:25 +01:00
parent 1be1a4bd81
commit befce13f80
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4

View File

@ -48,3 +48,14 @@ spec:
providers:
kubernetesCRD:
ingressClass: "traefik-external"
# This is needed in order to properly forward the real ip to each service
# There are likely better ways of handling that, but for now this works
hostNetwork: true
service:
spec:
externalTrafficPolicy: Local
updateStrategy:
rollingUpdate:
maxUnavailable: 2
maxSurge: 0