apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: smb-private
provisioner: smb.csi.k8s.io
parameters:
  source: //nasty/private
  csi.storage.k8s.io/node-stage-secret-name: smb-credentials
  csi.storage.k8s.io/node-stage-secret-namespace: kube-system
  createSubDir: "false"  # optional: create a sub dir for new volume
reclaimPolicy: Retain  # only retain is supported
volumeBindingMode: Immediate
mountOptions:
  - dir_mode=0777
  - file_mode=0777
  - vers=3.0
