seaweedfs-csi-driver
seaweedfs-csi-driver copied to clipboard
Feature: Allow setting volumeServerAccess
In my setup, I would need to have the ability to set -volumeServerAccess=publicUrl for the volume plugin. As far as I can see, this is not implemented in the driver code.
// Values for override-able args
// Whitelist for merging with volContext
argsMap := map[string]string{
"collection": seaweedFs.collection,
"filer": strings.Join(filers, ","),
"filer.path": seaweedFs.path,
"cacheCapacityMB": fmt.Sprint(seaweedFs.driver.CacheCapacityMB),
"concurrentWriters": fmt.Sprint(seaweedFs.driver.ConcurrentWriters),
"map.uid": seaweedFs.driver.UidMap,
"map.gid": seaweedFs.driver.GidMap,
"disk": "",
"dataCenter": "",
"replication": "",
"ttl": "",
"chunkSizeLimitMB": "",
"volumeServerAccess": "",
"readRetryTime": "",
}
It would be really helpful if that would be implemented.