about summary refs log tree commit diff
path: root/chart/values.yaml.template
diff options
context:
space:
mode:
authorAlex Dunn <dunn.alex@gmail.com>2020-10-12 16:19:13 -0700
committerGitHub <noreply@github.com>2020-10-13 01:19:13 +0200
commit53b22d247fb8500ea977774d727fe0d41950189c (patch)
tree75cef29c3f00fcd2a4c6718a7a2d4a5a5811eb89 /chart/values.yaml.template
parent96761752eccfc0d239974a24e0cc2d74c6aee7ac (diff)
helm: add optional cron job to run `tootctl remove media` (#14396)
Diffstat (limited to 'chart/values.yaml.template')
-rw-r--r--chart/values.yaml.template6
1 files changed, 6 insertions, 0 deletions
diff --git a/chart/values.yaml.template b/chart/values.yaml.template
index ff680b81f..c18d2f0b5 100644
--- a/chart/values.yaml.template
+++ b/chart/values.yaml.template
@@ -39,6 +39,12 @@ createAdmin:
 # available locales: https://github.com/tootsuite/mastodon/blob/master/config/application.rb#L43
 locale: en
 
+cron:
+  # run `tootctl media remove` every week
+  removeMedia:
+    enabled: true
+    schedule: "0 0 * * 0"
+
 application:
   web:
     port: 3000