Unable to create cluster with name starting with a number
charlottemach opened this issue · 3 comments
charlottemach commented
Currently this line
clusterNameRegex = "^([a-z]([-a-z0-9]*[a-z0-9])?)*$"
limits cluster names to start with a letter, is there an underlying reason for that?
If not, I'd like to add a PR to widen the naming requirements to be able to name clusters starting with a number.
rollandf commented
This is base on the OpenShift Installer validation:
https://github.com/openshift/installer/blob/master/pkg/validate/validate.go#L110
charlottemach commented
Understood, thanks @rollandf!
rollandf commented
Thank you @charlottemach