about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Dunn <dunn.alex@gmail.com>2020-07-18 10:30:46 -0700
committerGitHub <noreply@github.com>2020-07-18 19:30:46 +0200
commita29080256ecb39c7c719a7717fa15d3bc6d9776b (patch)
tree8632e014e90d90a9821b9ede577165ce8a3cb1cb
parentd87958e1775e6aa99b52d21bd8976cd3c76067d6 (diff)
helm: add examples of annotation for NGINX upload limits (#14350)
-rw-r--r--chart/values.yaml.template6
1 files changed, 6 insertions, 0 deletions
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: