Modification service et déploiement pour conserver l'IP source des clients
This commit is contained in:
parent
6ae4efc560
commit
802c61fb38
1 changed files with 6 additions and 0 deletions
|
|
@ -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: {}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue