summaryrefslogtreecommitdiffstats
path: root/openshift-storage-libs
diff options
context:
space:
mode:
Diffstat (limited to 'openshift-storage-libs')
-rw-r--r--openshift-storage-libs/openshiftstoragelibs/baseclass.py2
-rw-r--r--openshift-storage-libs/openshiftstoragelibs/openshift_ops.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/openshift-storage-libs/openshiftstoragelibs/baseclass.py b/openshift-storage-libs/openshiftstoragelibs/baseclass.py
index 956cf568..e55ef84c 100644
--- a/openshift-storage-libs/openshiftstoragelibs/baseclass.py
+++ b/openshift-storage-libs/openshiftstoragelibs/baseclass.py
@@ -136,7 +136,7 @@ class BaseClass(unittest.TestCase):
return command.cmd_run(
cmd=cmd, hostname=hostname, raise_on_error=raise_on_error)
- def create_secret(self, secret_name_prefix="autotests-secret-"):
+ def create_secret(self, secret_name_prefix="autotests-secret"):
secret_name = oc_create_secret(
self.ocp_client[0],
secret_name_prefix=secret_name_prefix,
diff --git a/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py b/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
index 8069fd8a..6677bb86 100644
--- a/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
+++ b/openshift-storage-libs/openshiftstoragelibs/openshift_ops.py
@@ -233,7 +233,7 @@ def oc_process(ocp_node, params, filename):
return out
-def oc_create_secret(hostname, secret_name_prefix="autotests-secret-",
+def oc_create_secret(hostname, secret_name_prefix="autotests-secret",
namespace="default",
data_key="password",
secret_type="kubernetes.io/glusterfs"):