introduced control parameter for cronjob

This commit is contained in:
Manuel Ganter 2025-08-12 16:16:55 +02:00
parent a92ed86c4d
commit 3277d6d854
No known key found for this signature in database

View file

@ -5,8 +5,16 @@ metadata:
namespace: gitea
spec:
schedule: "0 1 * * *"
concurrencyPolicy: "Forbid"
successfulJobsHistoryLimit: 5
failedJobsHistoryLimit: 5
startingDeadlineSeconds: 600 # 10 minutes
jobTemplate:
spec:
# 60 min until backup - 10 min start - (backoffLimit * activeDeadlineSeconds) - some time sync buffer
activeDeadlineSeconds: 1350
backoffLimit: 2
ttlSecondsAfterFinished: 259200 #
template:
spec:
containers:
@ -57,7 +65,7 @@ metadata:
namespace: gitea
annotations:
everest.io/disk-volume-type: SATA
everest.io/crypt-key-id: {{{ .Env.PVC_KMS_KEY_ID }}}
everest.io/crypt-key-id: { { { .Env.PVC_KMS_KEY_ID } } }
spec:
storageClassName: csi-disk
accessModes: