zfs-localpv/pkg
Pawan Prakash Sharma 0218dacea0 feat(ZFSPV): adding encryption in ZFSVolume CR (#6)
Adding support for enabling encryption using a custom key. 

Also, adding support to inherit the properties from ZPOOL
which are not listed in the storage class, ZFS driver will
not pass default values while creating the volume. Those
properties will be inherited from the ZPOOL.

we can use the encryption option in storage class 
```
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: openebs-zfspv
allowVolumeExpansion: true
parameters:
  blocksize: "4k"
  compression: "on"
  dedup: "on"
  thinprovision: "yes"
  encryption: "on"
  keyformat: "raw"
  keylocation: "file:///home/keys/key"
  poolname: "zfspv-pool"
provisioner: openebs.io/zfs
```

Just a note, the key file should be mounted inside the node-agent container so that we can use that file while provisioning the volume. keyformat can be raw, hex or passphrase.

Signed-off-by: Pawan <pawan@mayadata.io>
2019-10-15 22:51:48 +05:30
..
apis/openebs.io/core/v1alpha1 feat(ZFSPV): adding encryption in ZFSVolume CR (#6) 2019-10-15 22:51:48 +05:30
builder feat(ZFSPV): adding encryption in ZFSVolume CR (#6) 2019-10-15 22:51:48 +05:30
common feat(zfs-localpv): initial commit 2019-09-18 08:44:08 +05:30
config feat(zfs-localpv): initial commit 2019-09-18 08:44:08 +05:30
driver feat(ZFSPV): adding encryption in ZFSVolume CR (#6) 2019-10-15 22:51:48 +05:30
generated feat(zfs-localpv): autogenerated code for zfs-localpv 2019-09-18 08:44:08 +05:30
response feat(zfs-localpv): initial commit 2019-09-18 08:44:08 +05:30
version feat(zfs-localpv): initial commit 2019-09-18 08:44:08 +05:30
zfs feat(ZFSPV): adding encryption in ZFSVolume CR (#6) 2019-10-15 22:51:48 +05:30