mirror of
https://github.com/mastodon/chart
synced 2025-03-14 21:11:50 +00:00
Add hooks to jobs
This commit is contained in:
parent
1d0879b3c9
commit
8014703818
|
@ -1,3 +1,4 @@
|
|||
{{- if .Values.mastodon.hooks.assetsPrecompile.enabled -}}
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
|
@ -75,3 +76,4 @@ spec:
|
|||
- name: system
|
||||
mountPath: /opt/mastodon/public/system
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
{{- if .Values.mastodon.hooks.dbMigrate.enabled -}}
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
|
@ -75,3 +76,4 @@ spec:
|
|||
- name: system
|
||||
mountPath: /opt/mastodon/public/system
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
|
|
@ -20,6 +20,11 @@ mastodon:
|
|||
username: not_gargron
|
||||
# @ignored
|
||||
email: not@example.com
|
||||
hooks:
|
||||
dbMigrate:
|
||||
enabled: false
|
||||
assetsPrecompile:
|
||||
enabled: false
|
||||
cron:
|
||||
# -- run `tootctl media remove` every week
|
||||
removeMedia:
|
||||
|
|
Loading…
Reference in New Issue
Block a user