zfs-localpv/pkg/driver
Pawan Prakash Sharma fb6f1006da
feat(clone): add support for creating the Clone from volume as datasource (#234)
This PR adds the capability to create the Clone from pvc directly

```
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: pvc-clone
spec:
  storageClassName: openebs-snap
  dataSource:
    name: pvc-snap
    kind: PersistentVolumeClaim
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 4Gi
```
The ZFS_LocalPV driver will create one internal snapshot of the name
same as the new volume name and will create a clone out of it. Also,
while destroying the volume the driver will take care of deleting
the created snapshot for the clone.

Signed-off-by: Pawan <pawan@mayadata.io>
2020-11-11 18:58:25 +05:30
..
agent.go chore(refactor): Remove MountInfo struct from api (#225) 2020-10-12 10:59:23 +05:30
controller.go feat(clone): add support for creating the Clone from volume as datasource (#234) 2020-11-11 18:58:25 +05:30
controller_test.go fix(zfspv): rounding off the volume size to Gi and Mi (#191) 2020-08-07 20:50:13 +05:30
driver.go feat(zfspv): move to klog (#166) 2020-06-29 12:18:33 +05:30
grpc.go feat(shared): adding shared mount support ZFSPV volumes 2020-07-02 00:40:15 +05:30
identity.go feat(zfs-localpv): initial commit 2019-09-18 08:44:08 +05:30
scheduler.go feat(zfspv): move to klog (#166) 2020-06-29 12:18:33 +05:30