k/ingress-nginx: use PROXY protocol
This commit is contained in:
parent
50fc310110
commit
5131134c1d
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue