cancel
Showing results for 
Search instead for 
Did you mean: 
GiangPham
Mission Specialist
Mission Specialist
  • 193 Views

Question about project creation with reserved prefix in OpenShift

Jump to solution

Hi,

I encountered an issue while practicing with the DO280 course.

When I try to create a project with the name openshift-compliance, I receive the following error:

Error from server (Forbidden): project.project.openshift.io "openshift-compliance" is forbidden: cannot request a project starting with "openshift-"

However, if I create a namespace with the same name, it succeeds. Running oc get project still shows the project openshift-compliance.

My question: is this behavior a bug, or is it an intentional mechanism in OpenShift?

Best Regards

Labels (1)
Tags (1)
1 Solution

Accepted Solutions
Chetan_Tiwary_
Community Manager
Community Manager
  • 145 Views

@GiangPham This is intentional i.e by design. 

OCP Console prevents creation of openshift- prefixed projects, but it imposes no such restriction for namespaces.

https://bugzilla.redhat.com/show_bug.cgi?id=1777536 

View solution in original post

0 Kudos
1 Reply
Chetan_Tiwary_
Community Manager
Community Manager
  • 146 Views

@GiangPham This is intentional i.e by design. 

OCP Console prevents creation of openshift- prefixed projects, but it imposes no such restriction for namespaces.

https://bugzilla.redhat.com/show_bug.cgi?id=1777536 

0 Kudos
Join the discussion
You must log in to join this conversation.