apps/opencloud/init-job.yaml gelöscht

This commit is contained in:
Andreas.Leinen.imicros 2026-08-01 08:46:46 +00:00
parent 8bed4f003e
commit 4d6f540f94

View file

@ -1,29 +0,0 @@
apiVersion: batch/v1
kind: Job
metadata:
name: opencloud-init-generator
namespace: opencloud
spec:
ttlSecondsAfterFinished: 300
template:
spec:
restartPolicy: Never
containers:
- name: init
image: quay.io/opencloudeu/opencloud:7.2.0
command: ["/bin/sh"]
args:
- -c
- |
echo "=== Running opencloud init ==="
OPENCLOUD_URL=https://opencloud.basicstack.de \
/usr/bin/opencloud init --insecure true
echo ""
echo "=== Generated opencloud.yaml ==="
if [ -f /etc/opencloud/opencloud.yaml ]; then
cat /etc/opencloud/opencloud.yaml
else
echo "ERROR: opencloud.yaml not found at /etc/opencloud/"
ls -la /etc/opencloud/ || echo "Directory doesn't exist"
fi