When creating a new-project, I get a error creating names with upper case.

Solution Verified - Updated -

Issue

  • While creating projects with Upper case or contains special character we get below error:
The ProjectRequest "Test" is invalid: metadata.name: Invalid value: "Test": a DNS-1123 label must consist of lower case alphanumeric characters or '-', and must start and end with an alphanumeric character (e.g. 'my-name',  or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?')

Environment

  • Red Hat Openshift Container Platform (OCP) 3
  • Red Hat Openshift Container Platform (OCP) 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content