Change traefik forwarded headers configuration

main
trivernis 1 year ago
parent 449eeeb4f5
commit 27171a9ae1
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -6,24 +6,40 @@ metadata:
spec: spec:
valuesContent: |- valuesContent: |-
additionalArguments: additionalArguments:
- "--entryPoints.web.proxyProtocol.trustedIPs=10.0.0.254,167.235.111.84"
- "--entryPoints.web.forwardedHeaders.trustedIPs=10.0.0.254,167.235.111.84"
- "--providers.kubernetescrd.allowCrossNamespace=true" - "--providers.kubernetescrd.allowCrossNamespace=true"
ports: ports:
web: web:
exposedPort: 8000 exposedPort: 8000
forwardedHeaders:
trustedIPs:
- "10.0.0.254"
- "167.235.111.84"
proxyProtocol:
trustedIPs:
- "10.0.0.254"
- "167.235.111.84"
websecure: websecure:
exposedPort: 8443 exposedPort: 8443
forwardedHeaders:
trustedIPs:
- "10.0.0.254"
- "167.235.111.84"
proxyProtocol:
trustedIPs:
- "10.0.0.254"
- "167.235.111.84"
ssh: ssh:
port: 8022 port: 8022
expose: true expose: true
exposedPort: 8022 exposedPort: 8022
protocol: TCP protocol: TCP
sct-discovery: sct-discovery:
port: 21027 port: 21027
expose: true expose: true
exposedPort: 21027 exposedPort: 21027
protocol: UDP protocol: UDP
sct-listen: sct-listen:
port: 22000 port: 22000
expose: true expose: true

Loading…
Cancel
Save