mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-01-27 15:19:30 +00:00
e2e: Update e2e tests to use userID and userKey
Signed-off-by: Niraj Yadav <niryadav@redhat.com>
This commit is contained in:
parent
13767d6f54
commit
396ca38d16
@ -127,10 +127,10 @@ func createCephfsSecret(f *framework.Framework, secretName, userName, userKey st
|
|||||||
if secretName != "" {
|
if secretName != "" {
|
||||||
sc.Name = secretName
|
sc.Name = secretName
|
||||||
}
|
}
|
||||||
sc.StringData["adminID"] = userName
|
sc.StringData["userID"] = userName
|
||||||
sc.StringData["adminKey"] = userKey
|
sc.StringData["userKey"] = userKey
|
||||||
delete(sc.StringData, "userID")
|
delete(sc.StringData, "adminID")
|
||||||
delete(sc.StringData, "userKey")
|
delete(sc.StringData, "adminKey")
|
||||||
sc.Namespace = cephCSINamespace
|
sc.Namespace = cephCSINamespace
|
||||||
_, err = f.ClientSet.CoreV1().Secrets(cephCSINamespace).Create(context.TODO(), &sc, metav1.CreateOptions{})
|
_, err = f.ClientSet.CoreV1().Secrets(cephCSINamespace).Create(context.TODO(), &sc, metav1.CreateOptions{})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user