ceph-csi/internal
Niels de Vos 8f91c672d4 util: add EncryptionKMS.Destroy()
Add a new method to the EncryptionKMS interface so that resources can be
freed when EncryptionKMS instances get freed.

With the move to using the libopenstorage API, a temporary file needs to
store the optional CA certificate. The Destroy() method of the
vaultConnection type now removes this file.

The rbdVolume uses the EncryptionKMS type now, so call the new Destroy()
method from withing rbdVolume.Destroy().

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-12-14 14:45:09 +00:00
..
cephfs cephfs: remove unused cr Credentials 2020-12-10 10:13:55 +00:00
controller cleanup: return error type in ReconcilePersistentVolume.getCredentials() 2020-12-09 08:35:35 +00:00
csi-common cleanup: fix mispell words 2020-11-29 12:47:46 +05:30
journal rbd: store csi.storage.k8s.io/pvc/namespace metadata as Owner 2020-12-09 13:58:48 +00:00
liveness util: replace klog with util logger in liveness.go 2020-08-19 14:38:12 +00:00
rbd util: add EncryptionKMS.Destroy() 2020-12-14 14:45:09 +00:00
util util: add EncryptionKMS.Destroy() 2020-12-14 14:45:09 +00:00