allow custom S3_PERMISSION env

This commit is contained in:
Effy Elden 2022-12-09 17:12:31 +11:00 committed by Renaud Chaput
parent a227f91a7f
commit 61194296af
2 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,9 @@ data:
S3_ENDPOINT: {{ .Values.mastodon.s3.endpoint }}
S3_HOSTNAME: {{ .Values.mastodon.s3.hostname }}
S3_PROTOCOL: "https"
{{- if .Values.mastodon.s3.permission }}
S3_PERMISSION: {{ .Values.mastodon.s3.permission }}
{{- end }}
{{- with .Values.mastodon.s3.region }}
S3_REGION: {{ . }}
{{- end }}

View File

@ -65,6 +65,7 @@ mastodon:
endpoint: ""
hostname: ""
region: ""
permission: ""
# -- If you have a caching proxy, enter its base URL here.
alias_host: ""
# these must be set manually; autogenerated keys are rotated on each upgrade