From 77e1610cb6c532bb9e6d9b6c9b5ecaed000979c5 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Wed, 31 Aug 2022 19:53:34 +0200 Subject: [PATCH] ingress-nginx: Increase client max body size --- deploy/base/ingress.yaml | 2 +- deploy/base/statefulset-gitea.yaml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deploy/base/ingress.yaml b/deploy/base/ingress.yaml index 8b0896c..5d497dd 100644 --- a/deploy/base/ingress.yaml +++ b/deploy/base/ingress.yaml @@ -3,7 +3,7 @@ kind: Ingress metadata: name: ingress annotations: - nginx.ingress.kubernetes.io/proxy-body-size: 5m + nginx.ingress.kubernetes.io/proxy-body-size: 10m nginx.ingress.kubernetes.io/server-snippet: | if ($http_user_agent ~* "BLEXBot|SemrushBot|AhrefsBot" ) { return 403; diff --git a/deploy/base/statefulset-gitea.yaml b/deploy/base/statefulset-gitea.yaml index 0b17ed0..9d1fbcc 100644 --- a/deploy/base/statefulset-gitea.yaml +++ b/deploy/base/statefulset-gitea.yaml @@ -30,7 +30,7 @@ spec: runAsGroup: 1000 initContainers: - name: init-gitea - image: gitea/gitea:1.17.0-rootless + image: gitea/gitea:1.17.1-rootless imagePullPolicy: IfNotPresent command: ["/usr/sbin/init-directory-structure.sh"] env: @@ -53,7 +53,7 @@ spec: subPath: init-directory-structure.sh name: scripts - name: setup-gitea - image: gitea/gitea:1.17.0-rootless + image: gitea/gitea:1.17.1-rootless imagePullPolicy: IfNotPresent command: ["/usr/sbin/setup.sh"] env: @@ -97,7 +97,7 @@ spec: readOnlyRootFilesystem: true containers: - name: gitea - image: gitea/gitea:1.17.0-rootless + image: gitea/gitea:1.17.1-rootless imagePullPolicy: Always ports: - name: http