Browse Source

Updating the namespace param to None.

Kenny Woodson 8 years ago
parent
commit
ee3609784e

+ 1 - 1
roles/lib_openshift/library/oc_project.py

@@ -1547,7 +1547,7 @@ class OCProject(OpenShiftCLI):
             _ns = ','.join(params['node_selector'])
 
         pconfig = ProjectConfig(params['name'],
-                                params['name'],
+                                None,
                                 params['kubeconfig'],
                                 {'admin': {'value': params['admin'], 'include': True},
                                  'admin_role': {'value': params['admin_role'], 'include': True},

+ 1 - 1
roles/lib_openshift/src/class/oc_project.py

@@ -98,7 +98,7 @@ class OCProject(OpenShiftCLI):
             _ns = ','.join(params['node_selector'])
 
         pconfig = ProjectConfig(params['name'],
-                                params['name'],
+                                None,
                                 params['kubeconfig'],
                                 {'admin': {'value': params['admin'], 'include': True},
                                  'admin_role': {'value': params['admin_role'], 'include': True},