From 5ce195f91a666f17061a9039759f192425ba1922 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Thu, 1 Dec 2022 11:00:45 +0100 Subject: [PATCH] OZG-3184 OZG-3221 clean README.md; set proxy body size to 100m --- src/main/helm/templates/ingress.yaml | 1 + src/test/helm/ingress_test.yaml | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/main/helm/templates/ingress.yaml b/src/main/helm/templates/ingress.yaml index f54700953..17d2a1889 100644 --- a/src/main/helm/templates/ingress.yaml +++ b/src/main/helm/templates/ingress.yaml @@ -32,6 +32,7 @@ metadata: {{- else }} cert-manager.io/cluster-issuer: letsencrypt-prod {{- end }} + nginx.ingress.kubernetes.io/proxy-body-size: 100m 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 348afd2ef..1dff7a927 100644 --- a/src/test/helm/ingress_test.yaml +++ b/src/test/helm/ingress_test.yaml @@ -99,4 +99,9 @@ tests: asserts: - equal: path: metadata.annotations.[cert-manager.io/cluster-issuer] - value: letsencrypt-prod \ No newline at end of file + value: letsencrypt-prod + - it: should set proxy body size to 100m + asserts: + - equal: + path: metadata.annotations.[nginx.ingress.kubernetes.io/proxy-body-size] + value: 100m \ No newline at end of file -- GitLab