Skip to content

Commit 6319b15

Browse files
committed
update skaffold nginx controller
1 parent c99f327 commit 6319b15

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

k8s/production/skaffold.production.yaml

+8-6
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,14 @@ manifests:
6565
wait: false
6666
setValues:
6767
controller.allowSnippetAnnotations: false
68-
controller.config:
69-
enable-real-ip: "true"
70-
proxy-add-original-uri-header: "true"
71-
real-ip-header: proxy_protocol
72-
use-forwarded-headers: "true"
73-
use-proxy-protocol: "true"
68+
controller.config.enable-real-ip: "true"
69+
controller.config.proxy-add-original-uri-header: "true"
70+
controller.config.real-ip-header: "proxy_protocol"
71+
controller.config.use-forwarded-headers: "true"
72+
controller.config.use-proxy-protocol: "true"
73+
controller.config.set-real-ip-from: "0.0.0.0/0"
74+
controller.service.annotations.service\.beta\.kubernetes\.io/do-loadbalancer-protocol: "tcp"
75+
controller.service.annotations.service\.beta\.kubernetes\.io/do-loadbalancer-enable-proxy-protocol: "true"
7476
- name: postgresql
7577
version: 12.10.0
7678
remoteChart: postgresql

0 commit comments

Comments
 (0)