truecharts / charts

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.12k stars 614 forks source link

Allow mounting an ftp (curlftpfs) or ssh (sshfs) extra storage #12315

Closed gjobin closed 11 months ago

gjobin commented 11 months ago

Is your feature request related to a problem?

Integrating the Arr* services with a seedbox for completed download has been a problem so far. Seedbox is managing the torrents and makes the content available through FTP. Other solutions require syncing the whole folder and I don't want this extra storage used locally for duplicates.

Describe the solution you'd like

When mounting extra Storage, in addition to Host and NFS, FTP could be added as an option with server url (and port), username, password and target mounting folder. This would allow configuration to use this folder directly from the remote machine.

Another solution would be allowing sshfs with similar approach, or both.

Describe alternatives you've considered

Considered syncing the remote folder locally, but this use extra space that is already used on the seedbox. Considered deploying local torrent client, but I'd rather use the seedbox I already pay for for extra security/anonimity. I tried creating a vm that mounts the ftp and expose it as NFS, but it seems like the mounted fs is not visible to the nfs client.

Additional context

No response

I've read and agree with the following

stavros-k commented 11 months ago

I am sure that there is any FTP or SSHFS CSIs that is maintained.

gjobin commented 11 months ago

Thank you @stavros-k for the information, I was not aware of CSIs for k8s. That being said, I looked here https://kubernetes-csi.github.io/docs/drivers.html and searched the internet, but have not found any CSI that supports FTP or SSH. Do you have any advice on where to look for it ? Thank you.

stavros-k commented 11 months ago

If it's not coming up on top results of google, means there isn't anything that is at least CNCF certified. Even if there is one out there that it might be certified, I doubt it would be maintained.

Which in this case I won't promise that I will review any PRs and noone should spent the time to implement such thing. Because implementing it, will need at least a week (counting each day as a full 8 hours working-on-it). Plus unit tests (another 3-4days).

And reviewing this will also need 3-4days.

Your best bet is to use some other tool (rclone?) to mount that storage to your host/another server on the network and then use other CSIs (eg hostpath, nfs, etc).

With that being said, I'm going to close this as, this is not something that someone should/will be working on. And keeping it on, it sets wrong expectations

Thanks

truecharts-admin commented 11 months ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists