-
Notifications
You must be signed in to change notification settings - Fork 73
Description
I'm trying to use rclone's symlink option (--links) on csi-rclone, however it seems it's not working since .rclonelink file is not converting to symlink nor accepting ln -s command inside mount.
Here is my PV configuration:
apiVersion: v1
kind: PersistentVolume
metadata:
name: s3-pv
namespace: test
spec:
accessModes:
- ReadWriteMany
capacity:
storage: 10Gi
storageClassName: rclone
csi:
driver: csi-rclone
volumeHandle: rclone-csi-test
volumeAttributes:
remote: s3
remotePath: bucket
file-perms: "0777"
s3-provider: Rclone
s3-endpoint: http://s3-mock-service.test.svc.cluster.local
s3-use-multipart-uploads: "false"
links: "true"I'm not using rclone-secret Secret object or any annotations for additional configuration, so PV configuration above is my only configuration for csi-rclone.
When I mount this PV, I only get symlink.rclonelink file which I created before on my local rclone instance connecting to same remote. Also, when I run command like ln -s /data/another_symlink_test /tmp, I don't get any symlinked directory nor .rclonelink file.
I want to control which mount can be able to use symlink option, so I'd like to use PV's configuration rather than using rclone-secret object.
Is there an any way to use this option? or am I missing something?