3
0
mirror of https://github.com/mastodon/chart synced 2024-10-22 19:02:44 +00:00

S3 upload acl fix (#155)

This commit is contained in:
Tim Campbell 2024-10-01 14:14:36 +02:00 committed by GitHub
parent b4bf53cc39
commit 4f85998722
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time # This is the chart version. This version number should be incremented each time
# you make changes to the chart and its templates, including the app version. # you make changes to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 5.5.1 version: 5.5.2
# This is the version number of the application being deployed. This version number should be # This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to # incremented each time you make changes to the application. Versions are not expected to

View File

@ -44,6 +44,8 @@ spec:
env: env:
- name: RCLONE_S3_NO_CHECK_BUCKET - name: RCLONE_S3_NO_CHECK_BUCKET
value: "true" value: "true"
- name: RCLONE_S3_ACL
value: {{ required "Please specify a canned ACL for S3 asset uploads" .Values.mastodon.hooks.s3Upload.acl }}
- name: RCLONE_CONFIG_REMOTE_TYPE - name: RCLONE_CONFIG_REMOTE_TYPE
value: s3 value: s3
- name: RCLONE_CONFIG_REMOTE_PROVIDER - name: RCLONE_CONFIG_REMOTE_PROVIDER

View File

@ -41,6 +41,7 @@ mastodon:
enabled: false enabled: false
endpoint: endpoint:
bucket: bucket:
acl: public-read
secretRef: secretRef:
name: name:
keys: keys: