Skip to content

Commit

Permalink
doc: add allowVolumeExpansion in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangx committed Dec 10, 2024
1 parent 5a9dda4 commit 975289f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/example/e2e_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ parameters:
csi.storage.k8s.io/node-stage-secret-namespace: default
reclaimPolicy: Delete # available values: Delete, Retain
volumeBindingMode: Immediate
allowVolumeExpansion: true
mountOptions:
- dir_mode=0777
- file_mode=0777
Expand Down Expand Up @@ -59,6 +60,7 @@ parameters:
csi.storage.k8s.io/node-stage-secret-name: smbcreds
csi.storage.k8s.io/node-stage-secret-namespace: default
volumeBindingMode: Immediate
allowVolumeExpansion: true
mountOptions:
- dir_mode=0777
- file_mode=0777
Expand Down
1 change: 1 addition & 0 deletions deploy/example/storageclass-smb-krb5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ parameters:
csi.storage.k8s.io/node-stage-secret-name: smbcreds-krb5
csi.storage.k8s.io/node-stage-secret-namespace: default
volumeBindingMode: Immediate
allowVolumeExpansion: true
mountOptions:
- sec=krb5
- cruid=1000
Expand Down
1 change: 1 addition & 0 deletions deploy/example/storageclass-smb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ parameters:
csi.storage.k8s.io/node-stage-secret-name: smbcreds
csi.storage.k8s.io/node-stage-secret-namespace: default
volumeBindingMode: Immediate
allowVolumeExpansion: true
mountOptions:
- dir_mode=0777
- file_mode=0777
Expand Down
2 changes: 2 additions & 0 deletions deploy/example/windows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ kind: StorageClass
metadata:
name: smb
provisioner: smb.csi.k8s.io
allowVolumeExpansion: true
parameters:
source: //smb-server.default.svc.cluster.local/share
...
Expand Down Expand Up @@ -81,6 +82,7 @@ kind: StorageClass
metadata:
name: smb
provisioner: smb.csi.k8s.io
allowVolumeExpansion: true
parameters:
source: //10.111.254.254/share
...
Expand Down

0 comments on commit 975289f

Please sign in to comment.