mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
e2e: add modification to test encrypted PVC with rbd controller
Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
@ -770,6 +770,15 @@ func checkPVCCSIJournalInPool(f *framework.Framework, pvc *v1.PersistentVolumeCl
|
||||
return nil
|
||||
}
|
||||
|
||||
// deleteJournalInfoInPool deletes all omap data regarding pvc.
|
||||
func deleteJournalInfoInPool(f *framework.Framework, pvc *v1.PersistentVolumeClaim, pool string) error {
|
||||
if err := deletePVCImageJournalInPool(f, pvc, pool); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return deletePVCCSIJournalInPool(f, pvc, pool)
|
||||
}
|
||||
|
||||
func deletePVCImageJournalInPool(f *framework.Framework, pvc *v1.PersistentVolumeClaim, pool string) error {
|
||||
imageData, err := getImageInfoFromPVC(pvc.Namespace, pvc.Name, f)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user