Skip to content

Commit 3e7f016

Browse files
authored
Merge pull request #149 from andyzhangx/add-mountoptions
doc: add mountOptions
2 parents 2b64ebc + d7b29d9 commit 3e7f016

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

deploy/example/pv-blobfuse-csi.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ spec:
99
accessModes:
1010
- ReadWriteMany
1111
persistentVolumeReclaimPolicy: Retain # "Delete" is not supported in static provisioning
12+
mountOptions:
13+
- -o allow_other
14+
- --file-cache-timeout-in-seconds=120
1215
csi:
1316
driver: blobfuse.csi.azure.com
1417
readOnly: false

hack/verify-spelling.sh

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,14 @@ exitHandler() (
3434
)
3535
trap exitHandler EXIT
3636

37-
# perform go get in a temp dir as we are not tracking this version in a go module
38-
# if we do the go get in the repo, it will create / update a go.mod and go.sum
39-
cd "${TMP_DIR}"
40-
GO111MODULE=on GOBIN="${TMP_DIR}" go get "github.com/client9/misspell/cmd/misspell@${TOOL_VERSION}"
41-
export PATH="${TMP_DIR}:${PATH}"
37+
if [[ -z "$(command -v misspell)" ]]; then
38+
echo "Cannot find misspell. Installing misspell..."
39+
# perform go get in a temp dir as we are not tracking this version in a go module
40+
# if we do the go get in the repo, it will create / update a go.mod and go.sum
41+
cd "${TMP_DIR}"
42+
GO111MODULE=on GOBIN="${TMP_DIR}" go get "github.com/client9/misspell/cmd/misspell@${TOOL_VERSION}"
43+
export PATH="${TMP_DIR}:${PATH}"
44+
fi
4245
cd "${ROOT}"
4346

4447
# check spelling

0 commit comments

Comments
 (0)