1
0

add ingress kubernetes proxy-body-size

This commit is contained in:
sido 2018-06-25 21:27:35 +02:00
parent 06621e23af
commit b82d7eedd8

View File

@ -10,11 +10,7 @@ metadata:
release: "{{ $.Release.Name }}" release: "{{ $.Release.Name }}"
heritage: "{{ $.Release.Service }}" heritage: "{{ $.Release.Service }}"
annotations: annotations:
kubernetes.io/ingress.class: "nginx" ingress.kubernetes.io/proxy-body-size: "0"
ingress.kubernetes.io/proxy-body-size: "100m"
nginx.org/proxy-connect-timeout: "30s"
nginx.org/proxy-read-timeout: "20s"
nginx.org/client-max-body-size: "50m"
{{- if .tls }} {{- if .tls }}
ingress.kubernetes.io/secure-backends: "true" ingress.kubernetes.io/secure-backends: "true"
{{- end }} {{- end }}