k/ingress-nginx: use PROXY protocol

This commit is contained in:
Ryan Heywood 2025-06-12 02:43:30 -04:00
parent 50fc310110
commit 5131134c1d
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
2 changed files with 3 additions and 0 deletions

View File

@ -101,6 +101,8 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: ingress-nginx-controller name: ingress-nginx-controller
annotations:
service.beta.kubernetes.io/do-loadbalancer-enable-proxy-protocol: "true"
spec: spec:
ports: ports:
- appProtocol: http - appProtocol: http

View File

@ -15,6 +15,7 @@ configMapGenerator:
literals: literals:
- allow-snippet-annotations=true - allow-snippet-annotations=true
- annotations-risk-level=Critical - annotations-risk-level=Critical
- use-proxy-protocol=true
replacements: replacements:
- source: - source:
kind: Certificate kind: Certificate