From 5c1584671e245bc1afad6d4cd5b179933bc9b7ca Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Thu, 5 May 2022 15:31:38 +0200 Subject: [PATCH] e2e: no need to set Namespace for StorageClass StorageClasses are cluster-wide, and do not need to have a Namespace set. Signed-off-by: Niels de Vos --- e2e/cephfs_helper.go | 1 - e2e/rbd_helper.go | 1 - 2 files changed, 2 deletions(-) diff --git a/e2e/cephfs_helper.go b/e2e/cephfs_helper.go index c1029e402..db7811dd9 100644 --- a/e2e/cephfs_helper.go +++ b/e2e/cephfs_helper.go @@ -99,7 +99,6 @@ func createCephfsStorageClass( } sc.Parameters["clusterID"] = fsID } - sc.Namespace = cephCSINamespace timeout := time.Duration(deployTimeout) * time.Minute diff --git a/e2e/rbd_helper.go b/e2e/rbd_helper.go index 04b8427a5..8dbcfb5a2 100644 --- a/e2e/rbd_helper.go +++ b/e2e/rbd_helper.go @@ -149,7 +149,6 @@ func createRBDStorageClass( delete(sc.Parameters, k) } } - sc.Namespace = cephCSINamespace if scOptions["volumeBindingMode"] == "WaitForFirstConsumer" { value := scv1.VolumeBindingWaitForFirstConsumer