Skip to content

Commit 7411da3

Browse files
authored
Merge pull request #20473 from mburke5678/add-note-openshift-projects
Add note on restriction on openshift- project name
2 parents 4f68e69 + ff1867f commit 7411da3

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

applications/projects/working-with-projects.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ toc::[]
88
A _project_ allows a community of users to organize and manage their content in
99
isolation from other communities.
1010

11+
[NOTE]
12+
====
13+
Projects starting with `openshift-` and `kube-` are xref:../../authentication/using-rbac.adoc#rbac-default-projects_using-rbac[default projects]. These projects host cluster components that run as Pods and other infrastructure components. As such, {product-title} does not allow you to create Projects starting with `openshift-` or `kube-` using the `oc new-project` command. Cluster administrators can create these Projects using the xref:../../cli_reference/openshift_cli/administrator-cli-commands.adoc#new-project[`oc adm new-project` command].
14+
====
15+
1116
include::modules/creating-a-project-using-the-web-console.adoc[leveloffset=+1]
1217

1318
include::modules/odc-creating-projects-using-developer-perspective.adoc[leveloffset=+1]

modules/creating-a-project-using-the-CLI.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77

88
If allowed by your cluster administrator, you can create a new project.
99

10+
[NOTE]
11+
====
12+
Projects starting with `openshift-` and `kube-` are considered critical by {product-title}. As such, {product-title} does not allow you to create Projects starting with `openshift-` or `kube-` using the `oc new-project` command. Cluster administrators can create these Projects using the xref:../../cli_reference/openshift_cli/administrator-cli-commands.adoc#new-project[`oc adm new-project` command].
13+
====
14+
1015
.Procedure
1116

1217
. Run:

modules/creating-a-project-using-the-web-console.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77

88
If allowed by your cluster administrator, you can create a new project.
99

10+
[NOTE]
11+
====
12+
Projects starting with `openshift-` and `kube-` are considered critical by {product-title}. As such, {product-title} does not allow you to create Projects starting with `openshift-` using the web console.
13+
====
14+
1015
.Procedure
1116

1217
. Navigate to *Home* -> *Projects*.

modules/odc-creating-projects-using-developer-perspective.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@
77

88
You can use the *Developer* perspective in the {product-title} web console to create a project in your namespace.
99

10+
[NOTE]
11+
====
12+
Projects starting with `openshift-` and `kube` host cluster components that run as Pods and other infrastructure components. As such, {product-title} does not allow you to create Projects starting with `openshift-` or `kube-` using the CLI. Cluster administrators can create these Projects using the xref:../../cli_reference/openshift_cli/administrator-cli-commands.adoc#new-project[`oc adm new-project` command].
13+
====
14+
1015
.Prerequisites
1116

1217
* Ensure that you have the appropriate link:https://docs.openshift.com/container-platform/latest/authentication/using-rbac.html#default-roles_using-rbac[roles and permissions] to create projects, applications, and other workloads in {product-title}.

0 commit comments

Comments
 (0)