e2e: add -nfs-driver=... option to select provisioner

When testing NFS-provisioning on a cluster that has an NFS-provisioner
and node-plugins deployed with a different driver-name, it is very
useful to have a commandline option to change the name of the
provisioner that is placed in the StorageClass.

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos
2022-04-12 17:14:35 +02:00
committed by mergify[bot]
parent 9c91710d68
commit 17fea0459d
3 changed files with 3 additions and 0 deletions

View File

@ -82,6 +82,7 @@ var (
poll = 2 * time.Second
isOpenShift bool
clusterID string
nfsDriverName string
)
func getMons(ns string, c kubernetes.Interface) ([]string, error) {