Skip to content

Commit 687f813

Browse files
committed
Update storage-class.yaml
1 parent a41175c commit 687f813

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

infrastructure/storage/csi-driver-smb/storage-class.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ provisioner: smb.csi.k8s.io
77
parameters:
88
source: //192.168.10.133/k8s/comfyui
99
csi.storage.k8s.io/node-stage-secret-name: smbcreds
10-
csi.storage.k8s.io/node-stage-secret-namespace: comfyui
10+
# ✅ CORRECTED: Point to the namespace where the secret is actually created
11+
csi.storage.k8s.io/node-stage-secret-namespace: csi-driver-smb
1112
mountOptions:
1213
- dir_mode=0777
1314
- file_mode=0777
@@ -16,6 +17,7 @@ mountOptions:
1617
- iocharset=utf8
1718
- rsize=1048576
1819
- wsize=1048576
20+
- vers=3.0 # ✅ ADDED: For consistency and compatibility
1921
reclaimPolicy: Retain
2022
volumeBindingMode: Immediate
2123
allowVolumeExpansion: true

0 commit comments

Comments
 (0)