parent
72fedefb7f
commit
573b7a5eb5
3 changed files with 42 additions and 1 deletions
|
|
@ -240,7 +240,15 @@ class ControlPlaneAdmin(admin.ModelAdmin):
|
|||
fieldsets = (
|
||||
(
|
||||
None,
|
||||
{"fields": ("name", "description", "cloud_provider", "required_label")},
|
||||
{
|
||||
"fields": (
|
||||
"name",
|
||||
"description",
|
||||
"cloud_provider",
|
||||
"required_label",
|
||||
"wildcard_dns",
|
||||
)
|
||||
},
|
||||
),
|
||||
(
|
||||
_("API Credentials"),
|
||||
|
|
|
|||
|
|
@ -0,0 +1,24 @@
|
|||
# Generated by Django 5.2.7 on 2025-10-17 02:51
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("core", "0012_serviceoffering_external_links"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="controlplane",
|
||||
name="wildcard_dns",
|
||||
field=models.CharField(
|
||||
blank=True,
|
||||
help_text="Wildcard DNS domain for auto-generating FQDNs (e.g., apps.exoscale-ch-gva-2-prod2.services.servala.com)",
|
||||
max_length=255,
|
||||
null=True,
|
||||
verbose_name="Wildcard DNS",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
|
@ -159,6 +159,15 @@ class ControlPlane(ServalaModelMixin, models.Model):
|
|||
"Key-value information displayed to users when selecting this control plane"
|
||||
),
|
||||
)
|
||||
wildcard_dns = models.CharField(
|
||||
max_length=255,
|
||||
blank=True,
|
||||
null=True,
|
||||
verbose_name=_("Wildcard DNS"),
|
||||
help_text=_(
|
||||
"Wildcard DNS domain for auto-generating FQDNs (e.g., apps.exoscale-ch-gva-2-prod2.services.servala.com)"
|
||||
),
|
||||
)
|
||||
|
||||
class Meta:
|
||||
verbose_name = _("Control plane")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue