Check a domain's DNS against a cluster
Looks up a name under the wildcard domain and compares the answer with the address of the cluster's ingress. It changes nothing. Without `domain` the cluster's saved domain is checked.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
clusterId*stringuuidIdempotency-Key?stringMakes retries safe. A repeated key with the same request returns the first result and sets
Idempotent-Replayed: true. The same key with a different request answers 409
idempotency.key_reused, and while the first request is still running 409
idempotency.in_progress. Results are kept for 24 hours. Server errors and refusals for lack
of sign-in or permission are not kept, so a retry runs again.
^[A-Za-z0-9_.:-]+$1 <= length <= 255application/json- body
domain?stringThe wildcard to check, such as *.prod.example.com. Omit it to check the saved one.
length <= 200What the lookup found.
application/json- response
state*stringok when the wildcard resolves to the cluster's ingress address, missing when it resolves to nothing, mismatch when it resolves elsewhere, unchecked when there is no address to compare with.
"ok""missing""mismatch""unchecked"host?stringThe name that was looked up.
resolved?array<string>expected?stringThe cluster's ingress address; absent when it has none.
message*stringWhat to tell the person, such as DNS points at 203.0.113.9.
curl -X POST 'https://wardn.example.com/api/v1/clusters/497f6eca-6276-4993-bfeb-53cbbbba6f08/addresses/dns-check' \ -H 'Content-Type: application/json' \ -d '{}'{ "state": "ok", "host": "string", "resolved": [ "string" ], "expected": "string", "message": "string"}Read a cluster again for addresses POST
Asks the cluster's operator to read the ingress classes, the load balancer, cert-manager and the Gateway API now, and keeps the answer. It changes nothing in the cluster. 503 `previews.operator_unreachable` when the operator is not connected.
Install cert-manager on a cluster POST
Has the operator install the one pinned release of cert-manager, from upstream's manifest after checking its digest, and make the `wardn-letsencrypt` ClusterIssuer. Only while the cluster lets Wardn prepare namespaces (409 `previews.prepare_off`); a cluster that has cert-manager already is left as i