2023-11-13 20:05:51 +00:00
|
|
|
apiVersion: storage.k8s.io/v1
|
|
|
|
kind: StorageClass
|
|
|
|
metadata:
|
|
|
|
name: smb-usenet
|
|
|
|
provisioner: smb.csi.k8s.io
|
|
|
|
parameters:
|
2023-12-01 15:56:23 +00:00
|
|
|
source: "//172.20.0.88/data"
|
2023-11-13 20:05:51 +00:00
|
|
|
subDir: "usenet"
|
|
|
|
csi.storage.k8s.io/node-stage-secret-name: smb-creds
|
|
|
|
csi.storage.k8s.io/node-stage-secret-namespace: kube-system
|
|
|
|
csi.storage.k8s.io/provisioner-secret-name: smb-creds
|
|
|
|
csi.storage.k8s.io/provisioner-secret-namespace: kube-system
|
|
|
|
reclaimPolicy: Retain
|
|
|
|
volumeBindingMode: Immediate
|
|
|
|
mountOptions:
|
|
|
|
- dir_mode=0777
|
|
|
|
- file_mode=0777
|
|
|
|
- uid=1001
|
|
|
|
- gid=1001
|
|
|
|
- noperm
|