From 4f9823efbb13effc8061126583490e5c59402cd1 Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Thu, 15 Oct 2020 19:23:23 +0530 Subject: [PATCH] e2e: add block mode PVC clone file Signed-off-by: Humble Chirammal --- examples/rbd/pvc-block-clone.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 examples/rbd/pvc-block-clone.yaml diff --git a/examples/rbd/pvc-block-clone.yaml b/examples/rbd/pvc-block-clone.yaml new file mode 100644 index 000000000..738e9eb46 --- /dev/null +++ b/examples/rbd/pvc-block-clone.yaml @@ -0,0 +1,16 @@ +--- +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: block-pvc-clone +spec: + storageClassName: csi-rbd-sc + volumeMode: Block + dataSource: + name: raw-block-pvc + kind: PersistentVolumeClaim + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 1Gi