Revert "k/ingress-nginx: use PROXY protocol"

This reverts commit 5131134c1d.

Well, that was a rather disappointing result. Turns out, DigitalOcean
adds PROXY lines to _all_ connections. I suppose that's to be expected.
However, what wasn't expected, was that ingress-nginx would only be
capable of handling them for HTTP/S traffic, and not TCP passthrough.
For that reason, we actually can't enable PROXY without instead using a
sidecar to eat the PROXY line.
This commit is contained in:
Ryan Heywood 2025-06-12 02:44:19 -04:00
parent 5131134c1d
commit 5167cbc72b
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
2 changed files with 0 additions and 3 deletions

View File

@ -101,8 +101,6 @@ 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,7 +15,6 @@ 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