diff --git a/templates/configmap-env.yaml b/templates/configmap-env.yaml index 34fac72..526e29a 100644 --- a/templates/configmap-env.yaml +++ b/templates/configmap-env.yaml @@ -84,6 +84,9 @@ data: {{- with .Values.mastodon.s3.alias_host }} S3_ALIAS_HOST: {{ . }} {{- end }} + {{- with .Values.mastodon.s3.multipart_threshold }} + S3_MULTIPART_THRESHOLD: "{{ . }}" + {{- end }} {{- with .Values.mastodon.s3.override_path_style }} S3_OVERRIDE_PATH_STYLE: "{{ . }}" {{- end }} diff --git a/values.yaml b/values.yaml index 0120504..bd560bc 100644 --- a/values.yaml +++ b/values.yaml @@ -78,6 +78,10 @@ mastodon: permission: "" # -- If you have a caching proxy, enter its base URL here. 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: "" # -- Set this to true if the storage provider uses domain style 'bucket.endpoint' naming # override_path_style: "true" deepl: @@ -573,7 +577,8 @@ revisionPodAnnotation: true jobAnnotations: {} # -- 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 # 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