zfs-localpv/pkg/driver
Pawan Prakash Sharma fbd4812642
feat(zfspv): adding poolname info to the PV volumeattributes (#80)
Now PV will have poolname/parent-dataset info in volume attributes to help to identify the zpool on which PV has been created.

```
$ kubectl describe pv pvc-22d55c56-0c52-4fd5-894c-1f54c4dac5b7
Name:              pvc-22d55c56-0c52-4fd5-894c-1f54c4dac5b7
Labels:            <none>
Annotations:       pv.kubernetes.io/provisioned-by: zfs.csi.openebs.io
Finalizers:        [kubernetes.io/pv-protection]
StorageClass:      openebs-zfspv
Status:            Bound
Claim:             default/pvcname208
Reclaim Policy:    Delete
Access Modes:      RWO
VolumeMode:        Filesystem
Capacity:          4Gi
Node Affinity:
  Required Terms:
    Term 0:        kubernetes.io/hostname in [pawan-2]
Message:
Source:
    Type:              CSI (a Container Storage Interface (CSI) volume source)
    Driver:            zfs.csi.openebs.io
    VolumeHandle:      pvc-22d55c56-0c52-4fd5-894c-1f54c4dac5b7
    ReadOnly:          false
    VolumeAttributes:      openebs.io/poolname=zfspv-pool
                           storage.kubernetes.io/csiProvisionerIdentity=1586765686638-8081-zfs.csi.openebs.io
Events:                <none>
```
Signed-off-by: Pawan <pawan@mayadata.io>
2020-04-14 08:46:35 +05:30
..
agent.go feat(zfspv): handling unmounted volume 2020-04-09 20:53:10 +05:30
controller.go feat(zfspv): adding poolname info to the PV volumeattributes (#80) 2020-04-14 08:46:35 +05:30
driver.go feat(zfs-localpv): initial commit 2019-09-18 08:44:08 +05:30
grpc.go feat(zfs-localpv): initial commit 2019-09-18 08:44:08 +05:30
identity.go feat(zfs-localpv): initial commit 2019-09-18 08:44:08 +05:30
scheduler.go feat(zfspv): adding snapshot and clone support for ZFSPV (#39) 2020-02-13 13:31:17 +05:30