forgejo-runner: gc every 30min instead of daily

- Fix template to use .Values.gc.schedule instead of hardcoded cron
- Change schedule from daily 03:00 UTC to every 30 minutes
- Prevents DinD PVC fill-up (was at 93% before manual prune)
This commit is contained in:
2026-09-02 19:52:41 -07:00
parent 77683ec7c6
commit 51c66299e9
2 changed files with 2 additions and 2 deletions
@@ -43,7 +43,7 @@ metadata:
labels:
app: forgejo-runner-gc
spec:
schedule: "0 2,5 * * *" # Run at 02:00 and 05:00 UTC (more frequent for heavy build workloads)
schedule: {{ .Values.gc.schedule | quote }}
concurrencyPolicy: Forbid
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3