Browse Source

helm: add examples of annotation for NGINX upload limits (#14350)

Alex Dunn 3 years ago
parent
commit
a29080256e
1 changed files with 6 additions and 0 deletions
  1. 6 0
      chart/values.yaml.template

+ 6 - 0
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: