mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
e2e: allow passing CephFS filesystem name on CLI
A new -filesystem=... option has been added so that the e2e tests can run against environments that do not have a "myfs" CephFS filesystem. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
fcb4701a06
commit
b20e3fa784
@ -101,8 +101,8 @@ are available while running tests:
|
||||
| kubeconfig | Path to kubeconfig containing embedded authinfo (default: $HOME/.kube/config) |
|
||||
| timeout | Panic test binary after duration d (default 0, timeout disabled) |
|
||||
| v | Verbose: print additional output |
|
||||
| filesystem | Name of the CephFS filesystem (default: "myfs") |
|
||||
| is-openshift | Run in OpenShift compatibility mode, skips certain new feature tests |
|
||||
| filesystem | Name of the CephFS filesystem (default: "myfs") |
|
||||
|
||||
## E2E for snapshot
|
||||
|
||||
|
@ -43,8 +43,8 @@ func init() {
|
||||
flag.StringVar(&upgradeVersion, "upgrade-version", "v3.5.1", "target version for upgrade testing")
|
||||
flag.StringVar(&cephCSINamespace, "cephcsi-namespace", defaultNs, "namespace in which cephcsi deployed")
|
||||
flag.StringVar(&rookNamespace, "rook-namespace", "rook-ceph", "namespace in which rook is deployed")
|
||||
flag.StringVar(&fileSystemName, "filesystem", "myfs", "CephFS filesystem to use")
|
||||
flag.BoolVar(&isOpenShift, "is-openshift", false, "disables certain checks on OpenShift")
|
||||
flag.StringVar(&fileSystemName, "filesystem", "myfs", "CephFS filesystem to use")
|
||||
setDefaultKubeconfig()
|
||||
|
||||
// Register framework flags, then handle flags
|
||||
|
Loading…
Reference in New Issue
Block a user