goeland instead of the script it's way easier

This commit is contained in:
2025-08-09 00:56:31 +02:00
parent 7bff9a9342
commit c33e325882
3 changed files with 45 additions and 7 deletions

View File

@@ -0,0 +1,27 @@
apiVersion: batch/v1
kind: CronJob
metadata:
name: goeland
labels:
app.kubernetes.io/name: goeland
spec:
schedule: "0 0 * * Mon"
jobTemplate:
spec:
template:
spec:
restartPolicy: Never
volumes:
- name: config
nfs:
server: 192.168.0.99
path: /mnt/test1/media/config/goeland/
containers:
- name: goeland
image: slurdge/goeland:latest
command: ["/bin/sh"]
args: ["-c","cd / && ./goeland -c data/config.toml run"]
volumeMounts:
- name: config
mountPath: /data