seaweedfs-csi-driver icon indicating copy to clipboard operation
seaweedfs-csi-driver copied to clipboard

Feature: Allow setting volumeServerAccess

Open Gradlon opened this issue 6 months ago • 1 comments

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.

Gradlon avatar Aug 13 '24 09:08 Gradlon