Skip to content

Commit 1c616ec

Browse files
authored
Merge pull request #1484 from andyzhangx/add-yamllint-check
doc: add yamllint check
2 parents 192fe4b + 44b782d commit 1c616ec

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

deploy/example/blobfuse-mi/pv-blobfuse-mi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: v1
23
kind: PersistentVolume
34
metadata:

deploy/example/blobfuse-mi/storageclass-blobfuse-mi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ metadata:
55
name: blob-fuse
66
provisioner: blob.csi.azure.com
77
parameters:
8-
skuName: Premium_LRS
8+
skuName: Premium_LRS
99
protocol: fuse
10-
resourceGroup: EXISTING_RESOURCE_GROUP_NAME
11-
storageAccount: EXISTING_STORAGE_ACCOUNT_NAME # optional, if use existing storage account
12-
containerName: EXISTING_CONTAINER_NAME # optional, if use existing container
10+
resourceGroup: EXISTING_RESOURCE_GROUP_NAME # optional, node resource group by default if it's not provided
11+
storageAccount: EXISTING_STORAGE_ACCOUNT_NAME # optional, a new account will be created if it's not provided
12+
containerName: EXISTING_CONTAINER_NAME # optional, a new container will be created if it's not provided
1313
AzureStorageAuthType: MSI
1414
AzureStorageIdentityClientID: "xxxxx-xxxx-xxx-xxx-xxxxxxx"
1515
reclaimPolicy: Delete

hack/verify-yamllint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if [[ "${deployDirNum}" != "${helmDirNum}" ]]; then
2929
exit 1
3030
fi
3131

32-
for path in "deploy/*.yaml" "deploy/example/*.yaml" "deploy/example/metrics/*.yaml" "deploy/example/cloning/*.yaml"
32+
for path in "deploy/*.yaml" "deploy/example/*.yaml" "deploy/example/metrics/*.yaml" "deploy/example/cloning/*.yaml" "deploy/example/blobfuse-mi/*.yaml" "deploy/example/nfs/*.yaml"
3333
do
3434
echo "checking yamllint under path: $path ..."
3535
yamllint -f parsable $path | grep -v "line too long" > $LOG

0 commit comments

Comments
 (0)