apps/opencloud/init-job.yaml gelöscht
This commit is contained in:
parent
8bed4f003e
commit
4d6f540f94
1 changed files with 0 additions and 29 deletions
|
|
@ -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
|
|
||||||
Loading…
Add table
Reference in a new issue