From 00ca8775785de1c7adfa8a1ed2b5454cd5bee9f2 Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Dec 03 2024 13:38:55 +0000 Subject: startingDeadlineSeconds is only valid directly under spec Signed-off-by: Aurélien Bompard --- diff --git a/roles/openshift-apps/docstranslation/templates/cron.yml b/roles/openshift-apps/docstranslation/templates/cron.yml index 1c3ded1..2da3f4d 100644 --- a/roles/openshift-apps/docstranslation/templates/cron.yml +++ b/roles/openshift-apps/docstranslation/templates/cron.yml @@ -6,6 +6,7 @@ metadata: spec: concurrencyPolicy: Forbid schedule: "0 21 * * *" + startingDeadlineSeconds: 600 jobTemplate: spec: template: @@ -33,7 +34,6 @@ spec: subPath: config.ini readOnly: true restartPolicy: Never - startingDeadlineSeconds: 600 volumes: - name: ssh-config-volume secret: diff --git a/roles/openshift-apps/fedocal/files/cron.yml b/roles/openshift-apps/fedocal/files/cron.yml index 0d06684..fd5cfb0 100644 --- a/roles/openshift-apps/fedocal/files/cron.yml +++ b/roles/openshift-apps/fedocal/files/cron.yml @@ -7,6 +7,7 @@ metadata: spec: concurrencyPolicy: Forbid schedule: "*/30 * * * *" + startingDeadlineSeconds: 600 jobTemplate: spec: template: @@ -39,7 +40,6 @@ spec: mountPath: /etc/pki/rabbitmq/cert readOnly: true restartPolicy: Never - startingDeadlineSeconds: 600 volumes: - name: config-volume configMap: