From 06621e23af17d587f78b386b5351125adbfdfb0a Mon Sep 17 00:00:00 2001 From: sido Date: Mon, 25 Jun 2018 21:26:16 +0200 Subject: [PATCH] add ingress kubernetes proxy-body-size --- nexus/v1.0.0/templates/ingress.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nexus/v1.0.0/templates/ingress.yaml b/nexus/v1.0.0/templates/ingress.yaml index c781529..2bb4ac8 100644 --- a/nexus/v1.0.0/templates/ingress.yaml +++ b/nexus/v1.0.0/templates/ingress.yaml @@ -10,7 +10,11 @@ metadata: release: "{{ $.Release.Name }}" heritage: "{{ $.Release.Service }}" 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 }} ingress.kubernetes.io/secure-backends: "true" {{- end }}