Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange colon prefix on mount remote #13

Open
dippynark opened this issue Nov 9, 2020 · 2 comments
Open

Strange colon prefix on mount remote #13

dippynark opened this issue Nov 9, 2020 · 2 comments

Comments

@dippynark
Copy link

dippynark commented Nov 9, 2020

The colon prefix here prevents the node agent from finding my mount configuration in my rclone.conf - is it really needed?

The rclone mount usage command doesn't include it:

rclone mount remote:path /path/to/mountpoint [flags]

Removing the colon and recompiling (e.g. https://github.com/dippynark/csi-rclone/pull/1/files) works great!

@Jancis
Copy link
Member

Jancis commented Nov 2, 2021

When i did initial mount tests, i saw somewhere in the documentation or configuration files that the prefix colon was there and so it has been there since. I'll build a test image for that PR and test it.

@miwig
Copy link

miwig commented Sep 27, 2022

From the rclone documentation:

:backend:path/to/dir

This is an advanced form for creating remotes on the fly. backend should be the name or prefix of a backend (the type in the config file) and all the configuration for the backend should be provided on the command line

So, as it stands, the remote volume attribute in csi-rclone doesn't specify a remote as defined in rclone.conf, but rather a backend, and should probably be renamed to reflect this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants