18 lines
405 B
YAML
18 lines
405 B
YAML
|
apiVersion: storage.k8s.io/v1
|
||
|
kind: StorageClass
|
||
|
metadata:
|
||
|
name: smb-series
|
||
|
provisioner: smb.csi.k8s.io
|
||
|
parameters:
|
||
|
source: "//172.20.0.60/data"
|
||
|
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
|