Resolve custom domain SSL via certificate

Replace flattened SSL fields with a certificate
relation loaded through certmanager, and resolve
domain slots from IDs already on the trust center
instead of reloading the compliance page.

Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
Bryan Frimin
2026-07-17 17:39:33 +02:00
parent bc128ec516
commit caeb6d9225
13 changed files with 198 additions and 186 deletions

View File

@@ -8737,7 +8737,7 @@ components:
- RENEWING
- EXPIRED
- FAILED
go.probo.inc/mcpgen/type: go.probo.inc/probo/pkg/coredata.CustomDomainSSLStatus
go.probo.inc/mcpgen/type: go.probo.inc/probo/pkg/coredata.CertificateStatus
TrustCenterReferenceOrderField:
type: string
@@ -8968,6 +8968,26 @@ components:
type: string
format: date-time
Certificate:
type: object
required:
- id
- status
properties:
id:
$ref: "#/components/schemas/GID"
status:
$ref: "#/components/schemas/SSLStatus"
expires_at:
anyOf:
- type: string
format: date-time
- type: "null"
provisioning_error:
anyOf:
- type: string
- type: "null"
CustomDomain:
type: object
required:
@@ -8975,7 +8995,6 @@ components:
- organization_id
- domain
- managed
- ssl_status
- created_at
- updated_at
properties:
@@ -8988,12 +9007,9 @@ components:
managed:
type: boolean
description: Whether this domain is a Probo-managed probopage subdomain
ssl_status:
$ref: "#/components/schemas/SSLStatus"
ssl_expires_at:
certificate:
anyOf:
- type: string
format: date-time
- $ref: "#/components/schemas/Certificate"
- type: "null"
created_at:
type: string