diff --git a/build/fuse-clients/ossfs/install-ossfs.sh b/build/fuse-clients/ossfs/install-ossfs.sh index b13dc4768..7c40ba7fc 100644 --- a/build/fuse-clients/ossfs/install-ossfs.sh +++ b/build/fuse-clients/ossfs/install-ossfs.sh @@ -4,7 +4,7 @@ echo "TARGETPLATFORM: $TARGETPLATFORM" echo "installing ossfs" case $TARGETPLATFORM in linux/amd64) - yum install -y https://ack-csiplugin.oss-cn-hangzhou.aliyuncs.com/pre/ossfs/ossfs_1.88.3_centos8_x86_64.rpm + yum install -y https://ack-csiplugin.oss-cn-hangzhou.aliyuncs.com/pre/ossfs/ossfs_1.88.3_centos8.0_x86_64.rpm ;; linux/arm64) yum install -y \ diff --git a/pkg/mounter/ossfs.go b/pkg/mounter/ossfs.go index e76fd15b1..d1c667118 100644 --- a/pkg/mounter/ossfs.go +++ b/pkg/mounter/ossfs.go @@ -20,7 +20,7 @@ import ( "k8s.io/utils/pointer" ) -var defaultOssfsImageTag = "705dbf0-aliyun" +var defaultOssfsImageTag = "36f22e0-aliyun" const ( hostPrefix = "/host" @@ -106,7 +106,7 @@ func (f *fuseOssfs) buildPodSpec( mimeMountDir = OssfsDefMimeTypesFilePath } else if strings.ToLower(f.config.Extra["mime-support"]) == "true" { // mime.types not exists, use csi-mime.types - options = append(options, fmt.Sprintf("mime_types_file=%s", OssfsCsiMimeTypesFilePath)) + options = append(options, fmt.Sprintf("mime=%s", OssfsCsiMimeTypesFilePath)) mimeMountDir = OssfsCsiMimeTypesFilePath }