mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-23 15:56:42 +00:00
when a Snapshot is encrypted during a CreateSnapshot operation, the encryption key gets created in the KMS when we delete the Snapshot the key from the KMS should also gets deleted. When we create a volume from snapshot we are copying required information but we missed to copy the encryption information, This commit adds the missing information to delete the encryption key. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com> (cherry picked from commit c3bae17fcee0413dfb0a15a3524f0e7e0fc8d5d9)