You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the documentation, I understand that when the collection parameter is specified in the StorageClass, it should be mapped to the bucket configured by the collection.
Issue Description
According to the documentation, I understand that when the
collection
parameter is specified in the StorageClass, it should be mapped to the bucket configured by thecollection
.However, after my attempt, it did not execute as expected. It was still mapped to the default-generated
/buckets/<volume-id>
.I checked the code and tried to configure the
path
parameter. After that, the mapped bucket was changed to the one specified in thepath
.I initially think there is a problem with the code here. When the
collection
parameter is specified, it should affect the value ofpath
,path = fmt.Sprintf("/buckets/%s", collection)
https://github.com/seaweedfs/seaweedfs-csi-driver/blob/c4af3d29895c8eeee4b7faf00b05b5792a3976aa/pkg/driver/mounter.go#L37C1-L49C2
The text was updated successfully, but these errors were encountered: