cronjobs jobs limit

This commit is contained in:
nomadics9 2025-01-12 19:31:04 +03:00
parent b6f9cdedc2
commit d1775ddbe4
No known key found for this signature in database

View file

@ -5,6 +5,8 @@ metadata:
namespace: backups
spec:
schedule: "0 2 * * *" # Runs daily at 2 AM
successfulJobsHistoryLimit: 1
failedJobsHistoryLimit: 1
jobTemplate:
spec:
template:
@ -28,10 +30,8 @@ spec:
volumeMounts:
- name: nfs-configs
mountPath: /configs
- name: nfs-git
mountPath: /git
- name: nfs-backups
mountPath: /backups
securityContext: