its the ID Value
apiVersion: v1
kind: PersistentVolume
metadata:
name: <PV-Name>
spec:
accessModes:
- ReadWriteOnce
capacity:
storage: <Capacity-of-the-openstack-volume e.g.: "10Gi">
csi:
driver: cinder.csi.openstack.org
volumeHandle: <Volume-ID>
persistentVolumeReclaimPolicy: Retain
storageClassName: csi-sc-cinderplugin
volumeMode: Filesystem
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: <Name of the PVC>
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: <Same as the PV before>
volumeName: <Name of the previously created PV>
Apply both files and then enter the PVC inside the Deployment you want to use in