]> cat aescling's git repositories - mastodon.git/commitdiff
helm: add examples of annotation for NGINX upload limits (#14350)
authorAlex Dunn <dunn.alex@gmail.com>
Sat, 18 Jul 2020 17:30:46 +0000 (10:30 -0700)
committerGitHub <noreply@github.com>
Sat, 18 Jul 2020 17:30:46 +0000 (19:30 +0200)
chart/values.yaml.template

index 4a8286d0014fe51d4949185f2af9a6288e59730c..694bc4d4224bfb8a58261608a1fbfd5e44e9c50f 100644 (file)
@@ -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: