2023-11-14 11:12:35 +00:00
|
|
|
apiVersion: storage.k8s.io/v1
|
|
|
|
kind: StorageClass
|
|
|
|
metadata:
|
|
|
|
name: smb-oldmusic
|
|
|
|
provisioner: smb.csi.k8s.io
|
|
|
|
parameters:
|
2024-01-22 09:42:53 +00:00
|
|
|
source: "//hp40l/disk1"
|
2023-11-17 17:30:32 +00:00
|
|
|
subDir: oldmusic
|
2023-11-20 19:42:53 +00:00
|
|
|
csi.storage.k8s.io/provisioner-secret-name: smb-creds
|
|
|
|
csi.storage.k8s.io/provisioner-secret-namespace: kube-system
|
2023-11-14 11:12:35 +00:00
|
|
|
csi.storage.k8s.io/node-stage-secret-name: smb-creds
|
|
|
|
csi.storage.k8s.io/node-stage-secret-namespace: kube-system
|
|
|
|
reclaimPolicy: Retain
|
|
|
|
volumeBindingMode: Immediate
|
|
|
|
mountOptions:
|
|
|
|
- dir_mode=0777
|
|
|
|
- file_mode=0777
|
|
|
|
- uid=1001
|
|
|
|
- gid=1001
|
|
|
|
- noperm
|
2023-11-20 19:42:53 +00:00
|
|
|
- user
|