mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 11:00:25 +00:00
e2e: Add test-cephfs-fscrypt flag
Add flag to default disable Ceph FS fscrypt tests, as they require a custom minikube ISO Signed-off-by: Marcel Lauhoff <marcel.lauhoff@suse.com>
This commit is contained in:
parent
2ade867211
commit
42744213f6
@ -38,6 +38,7 @@ func init() {
|
|||||||
flag.BoolVar(&deployRBD, "deploy-rbd", true, "deploy rbd csi driver")
|
flag.BoolVar(&deployRBD, "deploy-rbd", true, "deploy rbd csi driver")
|
||||||
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(&testCephFSFscrypt, "test-cephfs-fscrypt", false, "test CephFS csi driver fscrypt support")
|
||||||
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(&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")
|
||||||
|
39
e2e/utils.go
39
e2e/utils.go
@ -79,25 +79,26 @@ const (
|
|||||||
|
|
||||||
var (
|
var (
|
||||||
// cli flags.
|
// cli flags.
|
||||||
deployTimeout int
|
deployTimeout int
|
||||||
deployCephFS bool
|
deployCephFS bool
|
||||||
deployRBD bool
|
deployRBD bool
|
||||||
deployNFS bool
|
deployNFS bool
|
||||||
testCephFS bool
|
testCephFS bool
|
||||||
testRBD bool
|
testCephFSFscrypt bool
|
||||||
testRBDFSCrypt bool
|
testRBD bool
|
||||||
testNBD bool
|
testRBDFSCrypt bool
|
||||||
testNFS bool
|
testNBD bool
|
||||||
helmTest bool
|
testNFS bool
|
||||||
upgradeTesting bool
|
helmTest bool
|
||||||
upgradeVersion string
|
upgradeTesting bool
|
||||||
cephCSINamespace string
|
upgradeVersion string
|
||||||
rookNamespace string
|
cephCSINamespace string
|
||||||
radosNamespace string
|
rookNamespace string
|
||||||
poll = 2 * time.Second
|
radosNamespace string
|
||||||
isOpenShift bool
|
poll = 2 * time.Second
|
||||||
clusterID string
|
isOpenShift bool
|
||||||
nfsDriverName string
|
clusterID string
|
||||||
|
nfsDriverName string
|
||||||
)
|
)
|
||||||
|
|
||||||
type cephfsFilesystem struct {
|
type cephfsFilesystem struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user