]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: Bucket names cannot be formatted as IP address 30620/head
authorVolker Theile <vtheile@suse.com>
Fri, 27 Sep 2019 11:04:48 +0000 (13:04 +0200)
committerVolker Theile <vtheile@suse.com>
Mon, 30 Sep 2019 08:03:44 +0000 (10:03 +0200)
commit42be6df308c263e0733b8424769bf33554c2e1be
tree8fedcb9858d40017b77417cf9c07036db8542631
parent4ebaa4ba724d5d7ea76471d902c643cd0dc909c5
mgr/dashboard: Bucket names cannot be formatted as IP address

In general, bucket names should follow domain name constraints:
- Bucket names must be unique.
- Bucket names cannot be formatted as IP address.
- Bucket names can be between 3 and 63 characters long.
- Bucket names must not contain uppercase characters or underscores.
- Bucket names must start with a lowercase letter or number.
- Bucket names must be a series of one or more labels. Adjacent labels are separated by a single period (.). Bucket names can contain lowercase letters, numbers, and hyphens. Each label must start and end with a lowercase letter or a number.

Fixes: https://tracker.ceph.com/issues/42069
Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.spec.ts
src/pybind/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.ts