Add mount options example
This commit is contained in:
parent
ce0d5e7704
commit
46da5a7002
2 changed files with 3 additions and 2 deletions
|
@ -6,6 +6,8 @@ metadata:
|
|||
provisioner: ch.ctrox.csi.s3-driver
|
||||
parameters:
|
||||
mounter: geesefs
|
||||
# you can set mount options here, for example limit memory cache size (recommended)
|
||||
options: "--memory-limit 1000 --dir-mode 0777 --file-mode 0666"
|
||||
# to use an existing bucket, specify it here:
|
||||
#bucket: some-existing-bucket
|
||||
csi.storage.k8s.io/provisioner-secret-name: csi-s3-secret
|
||||
|
|
|
@ -46,7 +46,6 @@ func (geesefs *geesefsMounter) Unstage(stageTarget string) error {
|
|||
|
||||
func (geesefs *geesefsMounter) Mount(source string, target string) error {
|
||||
fullPath := fmt.Sprintf("%s:%s", geesefs.meta.BucketName, geesefs.meta.Prefix)
|
||||
// FIXME Add memory limits
|
||||
args := []string{
|
||||
"--endpoint", geesefs.endpoint,
|
||||
"--region", geesefs.region,
|
||||
|
|
Loading…
Reference in a new issue