From 802c61fb38cd36faf40af7974be7fb5ae27f7309 Mon Sep 17 00:00:00 2001 From: Administrator Date: Wed, 28 Jun 2023 10:09:37 +0000 Subject: [PATCH] =?UTF-8?q?Modification=20service=20et=20d=C3=A9ploiement?= =?UTF-8?q?=20pour=20conserver=20l'IP=20source=20des=20clients?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common-services/traefik/manifest.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common-services/traefik/manifest.yaml b/common-services/traefik/manifest.yaml index 66e6f88..bfca7cc 100644 --- a/common-services/traefik/manifest.yaml +++ b/common-services/traefik/manifest.yaml @@ -2410,6 +2410,7 @@ metadata: helm.sh/chart: traefik-20.8.0 app.kubernetes.io/managed-by: Helm annotations: + service.beta.kubernetes.io/ovh-loadbalancer-proxy-protocol: v2 spec: externalTrafficPolicy: Local type: LoadBalancer @@ -2544,6 +2545,11 @@ spec: - "--entrypoints.websecure.http.tls=true" - "--entryPoints.web.http.redirections.entryPoint.to=websecure" - "--entrypoints.web.http.redirections.entrypoint.scheme=https" + - "--accesslog=true" + - "--entryPoints.web.proxyProtocol.insecure=true" + - "--entryPoints.web.proxyProtocol.trustedIPs=0.0.0.0/24" + - "--entryPoints.websecure.proxyProtocol.insecure=true" + - "--log.level=DEBUG" volumes: - name: data emptyDir: {}