mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-14 02:43:36 +00:00
Make parameter pool
optional in CephFS storageclass
Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
5b461a0787
commit
0063727199
@ -44,7 +44,6 @@ var _ = Describe("cephfs", func() {
|
||||
createFileSystem(f.ClientSet)
|
||||
createConfigMap(cephfsDirPath, f.ClientSet, f)
|
||||
deployCephfsPlugin()
|
||||
createCephfsStorageClass(f.ClientSet, f)
|
||||
createCephfsSecret(f.ClientSet, f)
|
||||
})
|
||||
|
||||
@ -85,6 +84,14 @@ var _ = Describe("cephfs", func() {
|
||||
Fail(err.Error())
|
||||
}
|
||||
|
||||
By("create a storage class with pool and a PVC then Bind it to an app", func() {
|
||||
createCephfsStorageClass(f.ClientSet, f, true)
|
||||
validatePVCAndAppBinding(pvcPath, appPath, f)
|
||||
deleteResource(cephfsExamplePath + "storageclass.yaml")
|
||||
})
|
||||
|
||||
createCephfsStorageClass(f.ClientSet, f, false)
|
||||
|
||||
By("create and delete a PVC", func() {
|
||||
By("create a PVC and Bind it to an app", func() {
|
||||
validatePVCAndAppBinding(pvcPath, appPath, f)
|
||||
|
Reference in New Issue
Block a user