mirror of
https://github.com/mastodon/chart
synced 2025-05-18 13:03:21 +00:00
Added ability to specify env variables
This commit is contained in:
parent
3f4ae51dbf
commit
720c05f2e6
|
@ -60,6 +60,9 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: {{ required "Please specify a secret with S3 credentials for S3 asset uploads" .Values.mastodon.hooks.s3Upload.secretRef.name }}
|
name: {{ required "Please specify a secret with S3 credentials for S3 asset uploads" .Values.mastodon.hooks.s3Upload.secretRef.name }}
|
||||||
key: {{ .Values.mastodon.hooks.s3Upload.secretRef.keys.secretAccessKey }}
|
key: {{ .Values.mastodon.hooks.s3Upload.secretRef.keys.secretAccessKey }}
|
||||||
|
{{- with .Values.mastodon.hooks.s3Upload.rclone.env }}
|
||||||
|
{{- toYaml . | nindent 12 }}
|
||||||
|
{{- end }}
|
||||||
command:
|
command:
|
||||||
- rclone
|
- rclone
|
||||||
args:
|
args:
|
||||||
|
|
|
@ -28,7 +28,7 @@ mastodon:
|
||||||
enabled: true
|
enabled: true
|
||||||
assetsPrecompile:
|
assetsPrecompile:
|
||||||
enabled: true
|
enabled: true
|
||||||
# Upload website assets to S3 before deploying.
|
# Upload website assets to S3 before deploying using rclone.
|
||||||
# Whenever there is an update to Mastodon, sometimes there are assets files
|
# Whenever there is an update to Mastodon, sometimes there are assets files
|
||||||
# that are renamed. As the pods are getting redeployed, and old/new pods are
|
# that are renamed. As the pods are getting redeployed, and old/new pods are
|
||||||
# present simultaneously, there is a chance that old asset files are
|
# present simultaneously, there is a chance that old asset files are
|
||||||
|
@ -46,6 +46,9 @@ mastodon:
|
||||||
keys:
|
keys:
|
||||||
accesKeyId: acces-key-id
|
accesKeyId: acces-key-id
|
||||||
secretAccessKey: secret-access-key
|
secretAccessKey: secret-access-key
|
||||||
|
rclone:
|
||||||
|
# Any additional environment variables to pass to rclone.
|
||||||
|
env: {}
|
||||||
# Custom labels to add to kubernetes resources
|
# Custom labels to add to kubernetes resources
|
||||||
#labels:
|
#labels:
|
||||||
cron:
|
cron:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user