mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-26 00:56:41 +00:00
Problem: When the encryptionType is not specified in the StorageClass, the default type (block) is used and stored in OMAP. However, during OMAP regeneration in a secondary cluster, the default type is incorrectly set to none. This discrepancy leads to errors during PVC cloning, with the message: `cannot create encrypted volume from unencrypted volume.` Solution: Update the default encryption type to consistently use block instead of none. Signed-off-by: Praveen M <m.praveen@ibm.com>