From cd0edc872d2de55259cc94a934114a48473d6490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Tue, 26 Jul 2022 13:13:51 +0200 Subject: [PATCH] [toddlers] Disable all cron jobs on staging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cron jobs are causing the queue to just fill up and the messages can't be currently processed so they are just being processed in loops. Disable them for now, till at least some mailing server will be available on staging. Signed-off-by: Michal Konečný --- roles/openshift-apps/toddlers/templates/cron_playtime.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/openshift-apps/toddlers/templates/cron_playtime.yml b/roles/openshift-apps/toddlers/templates/cron_playtime.yml index d8dd866a5a..34dc066210 100644 --- a/roles/openshift-apps/toddlers/templates/cron_playtime.yml +++ b/roles/openshift-apps/toddlers/templates/cron_playtime.yml @@ -1,3 +1,4 @@ +{% if env != 'staging' %} --- apiVersion: batch/v1 kind: CronJob @@ -211,7 +212,6 @@ spec: secretName: toddlers-fedora-messaging-crt -{% if env != 'staging' %} --- apiVersion: batch/v1 kind: CronJob