1
0
Fork 0
forked from fedi/mastodon

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

This commit is contained in:
Alex Dunn 2020-07-18 10:30:46 -07:00 committed by GitHub
parent d87958e177
commit a29080256e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,12 @@ ingress:
kubernetes.io/ingress.class: nginx kubernetes.io/ingress.class: nginx
kubernetes.io/tls-acme: "true" kubernetes.io/tls-acme: "true"
# cert-manager.io/cluster-issuer: "letsencrypt" # 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 # this value is used for LOCAL_DOMAIN
hostname: mastodon.local hostname: mastodon.local
tls: tls: