Skip to content

Commit

Permalink
add flag --cancel-list-on-mount-seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
anneliawa committed Nov 3, 2023
1 parent 829f390 commit 78508c6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/apis/deployment/volumemount.go
Original file line number Diff line number Diff line change
Expand Up @@ -575,6 +575,7 @@ func getCsiAzureStorageClassMountOptionsForAzureBlob(tmpPath string, radixVolume
// fmt.Sprintf("--%s=%s", csiStorageClassTmpPathMountOption, tmpPath),//TODO fix this path to be able to mount on external mount
"--file-cache-timeout-in-seconds=120",
"--use-attr-cache=true",
"--cancel-list-on-mount-seconds=0",
"-o allow_other",
"-o attr_timeout=120",
"-o entry_timeout=120",
Expand Down
4 changes: 4 additions & 0 deletions pkg/apis/deployment/volumemount_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1039,6 +1039,7 @@ func (suite *VolumeMountTestSuite) Test_CreateOrUpdateCsiAzureResources() {
sc.MountOptions = []string{
"--file-cache-timeout-in-seconds=120",
"--use-attr-cache=true",
"--cancel-list-on-mount-seconds=0",
"-o allow_other",
"-o attr_timeout=120",
"-o entry_timeout=120",
Expand Down Expand Up @@ -1085,6 +1086,7 @@ func (suite *VolumeMountTestSuite) Test_CreateOrUpdateCsiAzureResources() {
sc.MountOptions = []string{
"--file-cache-timeout-in-seconds=120",
"--use-attr-cache=true",
"--cancel-list-on-mount-seconds=0",
"-o allow_other",
"-o attr_timeout=120",
"-o entry_timeout=120",
Expand Down Expand Up @@ -1137,6 +1139,7 @@ func (suite *VolumeMountTestSuite) Test_CreateOrUpdateCsiAzureResources() {
sc.MountOptions = []string{
"--file-cache-timeout-in-seconds=120",
"--use-attr-cache=true",
"--cancel-list-on-mount-seconds=0",
"-o allow_other",
"-o attr_timeout=120",
"-o entry_timeout=120",
Expand Down Expand Up @@ -1577,6 +1580,7 @@ func createExpectedStorageClass(props expectedPvcScProperties, modify func(class
mountOptions := []string{
"--file-cache-timeout-in-seconds=120",
"--use-attr-cache=true",
"--cancel-list-on-mount-seconds=0",
"-o allow_other",
"-o attr_timeout=120",
"-o entry_timeout=120",
Expand Down

0 comments on commit 78508c6

Please sign in to comment.