csi-wekafs/examples/static/pv-wekafs-dir-static.yaml 1 apiVersion: v1 2 kind: PersistentVolume 3 metadata: 4 name: pv-wekafs-dir-static 5 spec: 6 storageClassName: storageclass-wekafs-dir 7 accessModes: 8 - ReadWriteMany 9 persistentVolumeReclaimPolicy: Retain 10 volumeMode: Filesystem 11 capacity: 12 storage: 1Gi 13 csi: 14 driver: csi.weka.io 15 # volumeHandle must be formatted as following: 16 # dir/v1/<FILE_SYSTEM_NAME>/<INNER_PATH_IN_FILESYSTEM> 17 # The path must exist, otherwise publish request will fail 18 volumeHandle: dir/v1/podsFilesystem/my-dir