From: Alex Dunn Date: Sat, 18 Jul 2020 17:30:46 +0000 (-0700) Subject: helm: add examples of annotation for NGINX upload limits (#14350) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=a29080256ecb39c7c719a7717fa15d3bc6d9776b;p=mastodon.git helm: add examples of annotation for NGINX upload limits (#14350) --- diff --git a/chart/values.yaml.template b/chart/values.yaml.template index 4a8286d00..694bc4d42 100644 --- a/chart/values.yaml.template +++ b/chart/values.yaml.template @@ -16,6 +16,12 @@ ingress: kubernetes.io/ingress.class: nginx kubernetes.io/tls-acme: "true" # cert-manager.io/cluster-issuer: "letsencrypt" + # + # ensure that NGINX's upload size matches Mastodon's + # for the K8s ingress controller: + # nginx.ingress.kubernetes.io/proxy-body-size: 40m + # for the NGINX ingress controller: + # nginx.org/client-max-body-size: 40m # this value is used for LOCAL_DOMAIN hostname: mastodon.local tls: