Skip to content

Commit

Permalink
Add job history limit
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosribas committed Aug 5, 2024
1 parent f69b57d commit 51a71cb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kubernetes/cleanup-pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ metadata:
name: file-cleanup
spec:
schedule: "0 0 * * *" # Run daily at midnight
failedJobsHistoryLimit: 1
successfulJobsHistoryLimit: 3
jobTemplate:
spec:
template:
Expand Down

0 comments on commit 51a71cb

Please sign in to comment.