Add limit to cronjob history

This commit is contained in:
SeanOMik 2023-04-08 22:57:57 -04:00
parent 6b6e7210e6
commit db8d2b5747
Signed by: SeanOMik
GPG Key ID: 568F326C7EB33ACB
1 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,8 @@ metadata:
spec:
# 4am every day
schedule: "0 4 * * *"
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 2
jobTemplate:
spec:
template: