Description of problem: When creating a project or namespace, the requirements are not shown until after I try submitting a new one. Version-Release number of selected component (if applicable): 4.8 How reproducible: Always Steps to Reproduce: 1. Create a project 2. Begin the project with openshift- , kubernetes- , or kube 3. Click create Actual results: Error that a project can't begin with openshift- , kubernetes- , kube Expected results: Ideally tell me this before I click create. Same goes for namespaces. Here's a design doc: https://docs.google.com/document/d/13xAdGJxbtJmvm7AZH7MMmwwPhnyDO_fGsAv6Y5Y-hf0/edit?usp=sharing Additional info: There are cases where users cannot create projects or namespaces and therefore shouldn't be told to first create a namespace if you want to create a project with a prefix of openshift- ... etc
Checked on ocp 4.8 cluster with payload 4.8.0-0.nightly-2021-06-02-025513. Check on project creation modal, open "?" tooltip, there is info in the tooltip: "A Project name must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name' or '123-abc'). You must create a Namespace to be able to create projects that begin with 'openshift-', 'kubernetes-', or 'kube-'." Check on namespace creation modal, open "?" tooltip, there is info in the tooltip: "A Namespace name must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name' or '123-abc')." The bug is fixed.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2438