tower-ui 0.61.8 — Deploy/Migrate drawers read tenant wildcard

DeployInstanceDrawer + MigrateDrawer were hardcoding
'<code>.tenants.odoosky.org' as the auto-suggested instance domain,
even when the operator's tenant has its own domain set in Settings.
A tenant whose wildcardHost is '*.tenants.4th.online' would still see
the wizard pre-fill 'odoo16.tenants.odoosky.org' in the Domain field —
the suggestion landed in the wrong zone, instance create would fail
DNS write.

Both drawers now fetch /api/tenants/<id>/settings on mount and use
'tenants.<domain>' (with leading '*.' stripped from wildcardHost) as
the suffix, falling back to odoosky.org only if the call errors or
the field is empty.
This commit is contained in:
Tower Bot
2026-04-30 11:32:00 +03:00
parent 31e05e96c1
commit dcef586b21

View File

@@ -29,7 +29,7 @@ frontend:
enabled: true
image:
repository: registry.odoosky.cloud/odoosky/docker-mirror/tower-ui
tag: "0.61.7"
tag: "0.61.8"
pullPolicy: IfNotPresent
imagePullSecrets:
- name: docker-mirror-pull