DirectPV CSI Driver Specification

August 2, 2023 ยท View on GitHub

CSIDriver

KeyValue
namedirectpv-min-io
fsGroupPolicyReadWriteOnceWithFSType
requiresRepublishfalse
podInfoOnMounttrue
attachRequiredfalse
storageCapacityfalse
modesPersistent, Ephemeral

StorageClass

KeyValue
namedirectpv-min-io
provisionerdirectpv-min-io
reclaimPolicyDelete
allowVolumeExpansiontrue
volumeBindingModeWaitForFirstConsumer

DirectPVDrives CRD

KeyValue
namedirectpvdrives
apigroupdirectpv.min.io

DirectPVVolumes CRD

KeyValue
namedirectpvvolumes
apigroupdirectpv.min.io

DirectPVNodes CRD

KeyValue
namedirectpvnodes
apigroupdirectpv.min.io

DirectPVInitRequests CRD

KeyValue
namedirectpvinitrequests
apigroupdirectpv.min.io

Driver RBAC

apiGroupResourcesVerbs
(core)endpointsget, list, watch, create, update, delete
(core)eventslist, watch, create, update, patch
(core)nodesget, list, watch
(core)persistentvolumesget, list, watch, create, delete
(core)persistentvolumeclaimsget, list, watch, update
(core)pods,podget, list, watch
policypodsecuritypoliciesuse
apiextensions.k8s.iocustomresourcedefinitionsget, list, watch, create, update, delete
coordination.k8s.ioleasesget, list, watch, update, delete, create
directpv.min.iodirectpvdrivesget, list, watch, create, update, delete
directpv.min.iodirectpvvolumesget, list, watch, create, update, delete
directpv.min.iodirectpvnodesget, list, watch, create, update, delete
directpv.min.iodirectpvinitrequestsget, list, watch, create, update, delete
snapshot.storage.k8s.iovolumesnapshotcontentsget, list
snapshot.storage.k8s.iovolumesnapshotsget, list
storage.k8s.iocsinodesget, list, watch
storage.k8s.iostorageclassesget, list, watch
storage.k8s.iovolumeattachmentsget, list, watch

The service account binded to the above clusterrole is directpv-min-io in directpv namespace and the corresponding clusterrolebinding is directpv-min-io.