k8s cloud name can't start with a number
Bug #1861325 reported by
Adam Israel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
Juju version: 2.7.1-disco-amd64
If I try to bootstrap a k8s cloud that begins with a number, it fails saying the credential name is not valid.
Steps to reproduce:
$ microk8s.
k8s substrate "microk8s/
You can now bootstrap to this cloud by running 'juju bootstrap 1234-5678-
$ juju bootstrap 1234-5678-2345-k8s
ERROR credential name "1234-5678-
If I append an alphabetical character to the cloud name, the bootstrap will succeed.
To post a comment you must log in.
Yes, this is a requirement in the Juju names standards where we don't allow things to start with a number as it messes up meaningful sorting and such.
The messaging should be more clear about what the name error is though.