Two vps mounts

This commit is contained in:
Martyn 2026-08-10 00:45:34 +02:00
parent 20549add5b
commit 23d2efa777

View file

@ -49,7 +49,11 @@ data:
browseable = yes
writable = yes
[slskd]
path = /slskd
comment = ZFS
browseable = yes
writable = yes
;EOF way past actual end of file
@ -112,7 +116,7 @@ spec:
command:
- /bin/sh
- -c
- "apk add samba sshfs; mkdir /data; mkdir ~/.ssh; cp /keyfile/keyfile ~/.ssh; ssh-keyscan 75.102.10.189 >~/.ssh/known_hosts ; chmod 600 ~/.ssh/keyfile; sed -i s/'^#user_allow_other'/'user_allow_other'/ /etc/fuse.conf ; sshfs debian-transmission@75.102.10.189:/var/lib/transmission-daemon/downloads /data -o IdentityFile=~/.ssh/keyfile,uid=1000,gid=1000,allow_other && cd /scripts && sh ./k8s.sh"
- "apk add samba sshfs; mkdir /data; mkdir /slskd; mkdir ~/.ssh; cp /keyfile/keyfile ~/.ssh; ssh-keyscan 75.102.10.189 >~/.ssh/known_hosts ; chmod 600 ~/.ssh/keyfile; sed -i s/'^#user_allow_other'/'user_allow_other'/ /etc/fuse.conf ; sshfs debian-transmission@75.102.10.189:/var/lib/transmission-daemon/downloads /data -o IdentityFile=~/.ssh/keyfile,uid=1000,gid=1000,allow_other && sshfs slskd-docker@75.102.10.189:/slskd /slskd -o IdentityFile=~/.ssh/keyfile,uid=1000,gid=1000,allow_other && cd /scripts && sh ./k8s.sh"
imagePullPolicy: IfNotPresent
ports:
- name: cifs