docs(tenant): update naming requirements in README

Clarify DNS-1035 naming rules:
- Must start with lowercase letter
- Allowed characters: a-z, 0-9, hyphen
- Must end with letter or number
- Maximum 40 characters

Change wording from "not allowed" to "discouraged" for dashes
since the validation technically permits them.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Aleksei Sviridkin <f@lex.la>
This commit is contained in:
Aleksei SviridkinandClaude committed 2026-02-11 12:49:30 +03:00
1 parent 1cbf183164
commit 9f20771cf8
1 file changed
+8 -3
+8 -3
View File
@@ -6,9 +6,14 @@ Tenants can be created recursively and are subject to the following rules:
### Tenant naming
Tenant names must be alphanumeric.
Using dashes (`-`) in tenant names is not allowed, unlike with other services.
This limitation exists to keep consistent naming in tenants, nested tenants, and services deployed in them.
Tenant names must follow DNS-1035 naming rules:
- Must start with a lowercase letter (`a-z`)
- Can only contain lowercase letters, numbers, and hyphens (`a-z`, `0-9`, `-`)
- Must end with a letter or number (not a hyphen)
- Maximum length: 40 characters
**Note:** Using dashes (`-`) in tenant names is discouraged, unlike with other services.
This is to keep consistent naming in tenants, nested tenants, and services deployed in them.
For example: