MM: same but different

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2024-03-13 10:59:12 +01:00
parent 5350fd3616
commit 29f266bb0c
No known key found for this signature in database
GPG key ID: 31584CFEB9BF64AD

View file

@ -7,7 +7,7 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: crawler-{{ cronjob.category|lower|replace(" ", "-") }}{% if cronjob.include_disabled %}-all{% endif %}
name: crawler-{{ cronjob.category|lower|replace(" ", "-") }}{{ cronjob.include_disabled | ternary('-all', '') }}
spec:
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3