30 lines
752 B
YAML
30 lines
752 B
YAML
---
|
|
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: smb-manual
|
|
spec:
|
|
capacity:
|
|
storage: 1Gi
|
|
accessModes:
|
|
- ReadWriteMany
|
|
persistentVolumeReclaimPolicy: Retain
|
|
mountOptions:
|
|
# creds can be entered into the node-stage-secret in the `mount_flags` key
|
|
# the value should be: username=foo,password=bar
|
|
- username=foo
|
|
- password=bar
|
|
csi:
|
|
driver: org.democratic-csi.node-manual
|
|
readOnly: false
|
|
fsType: cifs
|
|
volumeHandle: unique-volumeid # make sure it's a unique id in the cluster
|
|
#nodeStageSecretRef:
|
|
# name: some name
|
|
# namespace: some namespace
|
|
volumeAttributes:
|
|
server: host or ip
|
|
share: someshare
|
|
node_attach_driver: smb
|
|
provisioner_driver: node-manual
|