From 526526a6ab38c85f64d4b88e230703b5ce15798f Mon Sep 17 00:00:00 2001 From: Manabu McCloskey Date: Thu, 15 Feb 2024 23:45:16 +0000 Subject: [PATCH] set ingress-nginx buffer size to 32k --- hack/ingress-nginx/cm-ingress-nginx-controller.yaml | 8 ++++++++ hack/ingress-nginx/kustomization.yaml | 1 + .../localbuild/resources/nginx/k8s/ingress-nginx.yaml | 1 + 3 files changed, 10 insertions(+) create mode 100644 hack/ingress-nginx/cm-ingress-nginx-controller.yaml diff --git a/hack/ingress-nginx/cm-ingress-nginx-controller.yaml b/hack/ingress-nginx/cm-ingress-nginx-controller.yaml new file mode 100644 index 00000000..665a6ef3 --- /dev/null +++ b/hack/ingress-nginx/cm-ingress-nginx-controller.yaml @@ -0,0 +1,8 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: ingress-nginx-controller + namespace: ingress-nginx +data: + allow-snippet-annotations: "true" + proxy-buffer-size: "32k" diff --git a/hack/ingress-nginx/kustomization.yaml b/hack/ingress-nginx/kustomization.yaml index 5e364a1f..20b56d67 100644 --- a/hack/ingress-nginx/kustomization.yaml +++ b/hack/ingress-nginx/kustomization.yaml @@ -6,6 +6,7 @@ resources: patches: - path: deployment-ingress-nginx.yaml - path: service-ingress-nginx.yaml + - path: cm-ingress-nginx-controller.yaml - target: group: "" version: v1 diff --git a/pkg/controllers/localbuild/resources/nginx/k8s/ingress-nginx.yaml b/pkg/controllers/localbuild/resources/nginx/k8s/ingress-nginx.yaml index 498d330d..d651ba58 100644 --- a/pkg/controllers/localbuild/resources/nginx/k8s/ingress-nginx.yaml +++ b/pkg/controllers/localbuild/resources/nginx/k8s/ingress-nginx.yaml @@ -323,6 +323,7 @@ subjects: apiVersion: v1 data: allow-snippet-annotations: "true" + proxy-buffer-size: 32k kind: ConfigMap metadata: labels: