From 401472cf18424577f4947d591f9f4b87ae5b05ed Mon Sep 17 00:00:00 2001 From: OZG-Cloud Team <noreply@ozg-sh.de> Date: Thu, 1 Dec 2022 14:57:41 +0100 Subject: [PATCH] OZG-3184 OZG-3221 set proxy body size from 100m to 42m --- src/main/helm/templates/ingress.yaml | 2 +- src/test/helm/ingress_test.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/helm/templates/ingress.yaml b/src/main/helm/templates/ingress.yaml index 17d2a188..0199f660 100644 --- a/src/main/helm/templates/ingress.yaml +++ b/src/main/helm/templates/ingress.yaml @@ -32,7 +32,7 @@ metadata: {{- else }} cert-manager.io/cluster-issuer: letsencrypt-prod {{- end }} - nginx.ingress.kubernetes.io/proxy-body-size: 100m + nginx.ingress.kubernetes.io/proxy-body-size: 42m name: {{ include "app.name" . }} namespace: {{ include "app.namespace" . }} spec: diff --git a/src/test/helm/ingress_test.yaml b/src/test/helm/ingress_test.yaml index 1dff7a92..dc3b721c 100644 --- a/src/test/helm/ingress_test.yaml +++ b/src/test/helm/ingress_test.yaml @@ -100,8 +100,8 @@ tests: - equal: path: metadata.annotations.[cert-manager.io/cluster-issuer] value: letsencrypt-prod - - it: should set proxy body size to 100m + - it: should set proxy body size to 42m asserts: - equal: path: metadata.annotations.[nginx.ingress.kubernetes.io/proxy-body-size] - value: 100m \ No newline at end of file + value: 42m \ No newline at end of file -- GitLab