1
0

add ingress kubernetes proxy-body-size

This commit is contained in:
sido 2018-06-25 21:26:16 +02:00
parent ec31989348
commit 06621e23af

View File

@ -10,7 +10,11 @@ metadata:
release: "{{ $.Release.Name }}" release: "{{ $.Release.Name }}"
heritage: "{{ $.Release.Service }}" heritage: "{{ $.Release.Service }}"
annotations: annotations:
ingress.kubernetes.io/proxy-body-size: 100m kubernetes.io/ingress.class: "nginx"
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 }}