From 396ca38d16d6836083846d88142a1b658cd58d11 Mon Sep 17 00:00:00 2001 From: Niraj Yadav Date: Mon, 9 Dec 2024 17:52:36 +0530 Subject: [PATCH] e2e: Update e2e tests to use userID and userKey Signed-off-by: Niraj Yadav --- e2e/cephfs_helper.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/e2e/cephfs_helper.go b/e2e/cephfs_helper.go index 6deb976d1..077e4d67c 100644 --- a/e2e/cephfs_helper.go +++ b/e2e/cephfs_helper.go @@ -127,10 +127,10 @@ func createCephfsSecret(f *framework.Framework, secretName, userName, userKey st if secretName != "" { sc.Name = secretName } - sc.StringData["adminID"] = userName - sc.StringData["adminKey"] = userKey - delete(sc.StringData, "userID") - delete(sc.StringData, "userKey") + sc.StringData["userID"] = userName + sc.StringData["userKey"] = userKey + delete(sc.StringData, "adminID") + delete(sc.StringData, "adminKey") sc.Namespace = cephCSINamespace _, err = f.ClientSet.CoreV1().Secrets(cephCSINamespace).Create(context.TODO(), &sc, metav1.CreateOptions{})