From 28c00c4e73630cf31b49672ef9a2309656dd3859 Mon Sep 17 00:00:00 2001 From: MoritzWeber Date: Fri, 29 Nov 2024 12:16:36 +0100 Subject: [PATCH] fix: No longer block uploads of larger files in Ingress nginx If nginx was used as Ingress, the default max body size of 1MB was applied. This has blocked uploads of files > 1MB. --- helm/templates/routing/routing.ingress.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/helm/templates/routing/routing.ingress.yaml b/helm/templates/routing/routing.ingress.yaml index cb077da28d..a1550c37ce 100644 --- a/helm/templates/routing/routing.ingress.yaml +++ b/helm/templates/routing/routing.ingress.yaml @@ -13,6 +13,7 @@ metadata: nginx.ingress.kubernetes.io/fastcgi_busy_buffers_size: 16k nginx.ingress.kubernetes.io/proxy-buffer-size: 16k nginx.ingress.kubernetes.io/proxy-buffers-number: "4" + nginx.ingress.kubernetes.io/proxy-body-size: "30m" {{- if eq .Values.cluster.kind "OpenShift" }} route.openshift.io/insecureEdgeTerminationPolicy: Redirect route.openshift.io/termination: edge