Skip to content

Commit 7378bd7

Browse files
authored
Merge pull request #2025 from k8s-infra-cherrypick-robot/cherry-pick-2024-to-release-1.26
[release-1.26] cleanup: disable version check in blobfuse2 driver by default
2 parents 2fba265 + e943ce8 commit 7378bd7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/blobfuse-proxy/server/server.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ func (server *MountServer) MountAzureBlob(_ context.Context,
7878
klog.V(2).Infof("append --ignore-open-flags=true to mount args")
7979
args = args + " " + "--ignore-open-flags=true"
8080
}
81+
if !strings.Contains(args, "--disable-version-check") {
82+
klog.V(2).Infof("append --disable-version-check to mount args")
83+
args = args + " " + "--disable-version-check=true"
84+
}
8185
args = util.TrimDuplicatedSpace(args)
8286
klog.V(2).Infof("mount with v2, protocol: %s, args: %s", protocol, args)
8387
cmd = exec.Command("blobfuse2", strings.Split(args, " ")...)

0 commit comments

Comments
 (0)