e2e: cephfs rados namespace test

Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit is contained in:
Praveen M
2024-10-03 16:05:23 +05:30
committed by mergify[bot]
parent 86759d4653
commit 3aa91cfa6f
4 changed files with 145 additions and 23 deletions

View File

@ -187,6 +187,15 @@ func deleteBackingCephFSVolume(f *framework.Framework, pvc *v1.PersistentVolumeC
return nil
}
func cephfsOptions(pool string) string {
if radosNamespace != "" {
return "--pool=" + pool + " --namespace=" + radosNamespace
}
// default namespace is csi
return "--pool=" + pool + " --namespace=csi"
}
type cephfsSubVolume struct {
Name string `json:"name"`
}