ADD: added working nextcloud version

This commit is contained in:
2026-03-02 20:49:50 +01:00
parent f0c47beaad
commit f0a02c3740
12 changed files with 204 additions and 47 deletions

View File

@@ -0,0 +1,21 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: nextcloud-webcron
namespace: nextcloud
spec:
schedule: "*/5 * * * *" # alle 5 Minuten
successfulJobsHistoryLimit: 3
failedJobsHistoryLimit: 3
jobTemplate:
spec:
activeDeadlineSeconds: 300
template:
spec:
restartPolicy: Never
containers:
- name: webcron
image: curlimages/curl:8.5.0
command: ["/bin/sh", "-c"]
args:
- 'until curl -fsS http://nextcloud.nextcloud.svc.cluster.local/status.php; do echo "waiting for nextcloud..."; sleep 5; done; curl -s -o /dev/null -w "%{http_code}\n" http://nextcloud.nextcloud.svc.cluster.local/cron.php'