ceph-csi/internal
Niels de Vos b1d05a1840 rbd: repair encryption config in case it is missing
It is possible that when a provisioner restarts after a snapshot was
cloned, but before the newly restored image had its encryption metadata
set, the new image is not marked as encrypted. This will prevent
attaching/mounting the image, as the encryption key will not be fetched,
or is not available in the DEKStore.

By actively repairing the encryption configuration when needed, this
problem should be addressed.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
2021-04-14 03:59:28 +00:00
..
cephfs cleanup: correct nolint directive listing format 2021-04-09 07:24:47 +00:00
controller rbd: take lock when reconciling the PV 2021-04-07 11:46:27 +00:00
csi-common util: add nil check to default ControllerGetCapabilities() 2021-04-09 10:12:48 +00:00
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 rbd: repair encryption config in case it is missing 2021-04-14 03:59:28 +00:00
util util: add VolumeEncryption.StoreCryptoPassphrase() 2021-04-14 03:59:28 +00:00