mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
e2e: Feature flag RBD fscrypt tests (default disabled)
Add test-rbd-fscrypt feature flag to e2e suite. Default disabled as the current CI system's kernel doesn't have the required features enabled. Signed-off-by: Marcel Lauhoff <marcel.lauhoff@suse.com>
This commit is contained in:
parent
5a55419025
commit
69b8feec12
@ -39,6 +39,7 @@ func init() {
|
|||||||
flag.BoolVar(&deployNFS, "deploy-nfs", false, "deploy nfs csi driver")
|
flag.BoolVar(&deployNFS, "deploy-nfs", false, "deploy nfs csi driver")
|
||||||
flag.BoolVar(&testCephFS, "test-cephfs", true, "test cephFS csi driver")
|
flag.BoolVar(&testCephFS, "test-cephfs", true, "test cephFS csi driver")
|
||||||
flag.BoolVar(&testRBD, "test-rbd", true, "test rbd csi driver")
|
flag.BoolVar(&testRBD, "test-rbd", true, "test rbd csi driver")
|
||||||
|
flag.BoolVar(&testRBDFSCrypt, "test-rbd-fscrypt", false, "test rbd csi driver fscrypt support")
|
||||||
flag.BoolVar(&testNBD, "test-nbd", false, "test rbd csi driver with rbd-nbd mounter")
|
flag.BoolVar(&testNBD, "test-nbd", false, "test rbd csi driver with rbd-nbd mounter")
|
||||||
flag.BoolVar(&testNFS, "test-nfs", false, "test nfs csi driver")
|
flag.BoolVar(&testNFS, "test-nfs", false, "test nfs csi driver")
|
||||||
flag.BoolVar(&helmTest, "helm-test", false, "tests running on deployment via helm")
|
flag.BoolVar(&helmTest, "helm-test", false, "tests running on deployment via helm")
|
||||||
|
@ -241,6 +241,11 @@ func ByFileAndBlockEncryption(
|
|||||||
callback(validateEncryptedPVCAndAppBinding, isBlockEncryptedPVC, util.EncryptionTypeBlock)
|
callback(validateEncryptedPVCAndAppBinding, isBlockEncryptedPVC, util.EncryptionTypeBlock)
|
||||||
})
|
})
|
||||||
By(text+" (file)", func() {
|
By(text+" (file)", func() {
|
||||||
|
if !testRBDFSCrypt {
|
||||||
|
e2elog.Logf("skipping RBD fscrypt file encryption test")
|
||||||
|
|
||||||
|
return
|
||||||
|
}
|
||||||
callback(validateEncryptedFilesystemAndAppBinding, isFileEncryptedPVC, util.EncryptionTypeFile)
|
callback(validateEncryptedFilesystemAndAppBinding, isFileEncryptedPVC, util.EncryptionTypeFile)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -85,6 +85,7 @@ var (
|
|||||||
deployNFS bool
|
deployNFS bool
|
||||||
testCephFS bool
|
testCephFS bool
|
||||||
testRBD bool
|
testRBD bool
|
||||||
|
testRBDFSCrypt bool
|
||||||
testNBD bool
|
testNBD bool
|
||||||
testNFS bool
|
testNFS bool
|
||||||
helmTest bool
|
helmTest bool
|
||||||
|
Loading…
Reference in New Issue
Block a user