From 92de79d18a7e7af9d44e49413abb881d4348d10c Mon Sep 17 00:00:00 2001 From: Milson Munakami Date: Mon, 9 Jun 2025 16:29:11 -0400 Subject: [PATCH 1/3] lower the OpenShift namespace from ColdFront Project Title to accomodate with RHOAI Workbench Name --- src/coldfront_plugin_cloud/openshift.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coldfront_plugin_cloud/openshift.py b/src/coldfront_plugin_cloud/openshift.py index 5bc910f4..fbd16496 100644 --- a/src/coldfront_plugin_cloud/openshift.py +++ b/src/coldfront_plugin_cloud/openshift.py @@ -71,7 +71,7 @@ class OpenShiftResourceAllocator(base.ResourceAllocator): resource_type = "openshift" - project_name_max_length = 63 + project_name_max_length = 50 def __init__(self, resource, allocation): super().__init__(resource, allocation) From a9d0b5039a61455b6991ed1246511235e34427d5 Mon Sep 17 00:00:00 2001 From: Milstein Date: Mon, 15 Dec 2025 15:58:58 -0500 Subject: [PATCH 2/3] Having longer Title can potentially cause issues when using RHOAI Workbenches/ Models with long names. --- src/coldfront_plugin_cloud/openshift.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coldfront_plugin_cloud/openshift.py b/src/coldfront_plugin_cloud/openshift.py index de44b0f3..b9999e8a 100644 --- a/src/coldfront_plugin_cloud/openshift.py +++ b/src/coldfront_plugin_cloud/openshift.py @@ -175,7 +175,7 @@ class OpenShiftResourceAllocator(base.ResourceAllocator): resource_type = "openshift" - project_name_max_length = 50 + project_name_max_length = 25 def __init__(self, resource, allocation): super().__init__(resource, allocation) From 0d695cbf1ee18d31ac544c87f28827059d9b83c1 Mon Sep 17 00:00:00 2001 From: Milstein Date: Tue, 16 Dec 2025 10:52:42 -0500 Subject: [PATCH 3/3] set the Project Title limit of 45 Chars --- src/coldfront_plugin_cloud/openshift.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coldfront_plugin_cloud/openshift.py b/src/coldfront_plugin_cloud/openshift.py index b9999e8a..44f8c7dd 100644 --- a/src/coldfront_plugin_cloud/openshift.py +++ b/src/coldfront_plugin_cloud/openshift.py @@ -175,7 +175,7 @@ class OpenShiftResourceAllocator(base.ResourceAllocator): resource_type = "openshift" - project_name_max_length = 25 + project_name_max_length = 45 def __init__(self, resource, allocation): super().__init__(resource, allocation)