3
0
mirror of https://github.com/mastodon/chart synced 2025-05-18 04:53:21 +00:00

Add s3.mastodon.multipart_threshold config option

When uploading data to S3, if the number of bytes to send exceedes
multipart_threshold then a multi part session is automatically started
and the data is sent up in chunks.
This commit is contained in:
T. Hinrichsmeyer 2023-05-05 12:44:22 +02:00
parent f5c9cdc364
commit 3367bdf27a
No known key found for this signature in database
GPG Key ID: 984B6DEB69D24B71
2 changed files with 9 additions and 1 deletions

View File

@ -84,6 +84,9 @@ data:
{{- with .Values.mastodon.s3.alias_host }} {{- with .Values.mastodon.s3.alias_host }}
S3_ALIAS_HOST: {{ . }} S3_ALIAS_HOST: {{ . }}
{{- end }} {{- end }}
{{- with .Values.mastodon.s3.multipart_threshold }}
S3_MULTIPART_THRESHOLD: "{{ . }}"
{{- end }}
{{- end }} {{- end }}
{{- with .Values.mastodon.smtp.auth_method }} {{- with .Values.mastodon.smtp.auth_method }}
SMTP_AUTH_METHOD: {{ . }} SMTP_AUTH_METHOD: {{ . }}

View File

@ -78,6 +78,10 @@ mastodon:
permission: "" permission: ""
# -- If you have a caching proxy, enter its base URL here. # -- If you have a caching proxy, enter its base URL here.
alias_host: "" alias_host: ""
# When uploading data to S3, if the number of bytes to send exceedes
# multipart_threshold then a multi part session is automatically started
# and the data is sent up in chunks. Defaults to 16777216 (16MB).
multipart_threshold: ""
deepl: deepl:
enabled: false enabled: false
plan: plan:
@ -541,7 +545,8 @@ revisionPodAnnotation: true
jobAnnotations: {} jobAnnotations: {}
# -- Default resources for all Deployments and jobs unless overwritten # -- Default resources for all Deployments and jobs unless overwritten
resources: {} resources:
{}
# We usually recommend not to specify default resources and to leave this as a conscious # We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little # choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following # resources, such as Minikube. If you do want to specify resources, uncomment the following