Cut over again
"Cut over again": an interrupted attempt runs again from step 1, and the review it was asked with must still match before Wardn writes content; an attempt waiting for something a person cleared (a permission, a controller version proven, an operator upgraded, a removal the safety check refused) runs
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*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 <= 255The attempt, running again.
application/json- response
One attempt to cut an imported deployment over.
id*stringuuidstate*ImportCutoverStateWhere one cutover attempt stands. awaiting_approval waits for the approvals the guardrails ask for; queued is approved or allowed; running is at steps 1 to 4; waiting_on_parent waits for a parent app to let the tool's object go; waiting is blocked (wait says why); interrupted found the tool turned back on after Wardn wrote; removing is removing the tool's object, the point of no return; verifying checks every object survived; done is Wardn's; releasing is being undone, then released; failed and cancelled ended unfinished.
"awaiting_approval""queued""running""waiting_on_parent""waiting""interrupted""removing""verifying""done""releasing""released""failed""cancelled"trigger*string"person""automatic"requestedBy*requestedAt*stringdate-timestartedAt?stringWhen step 1 started; absent before.
date-timestep*integerThe step the card's "Step N of 4" names, the last done or under way; 0 before step 1.
0 <= value <= 4steps*array<>4 <= items <= 4wait?Why an attempt waits. Names and codes only.
interruption?What stopped an attempt after Wardn wrote. Names only.
approval?The approval an attempt needed and how it was decided.
releasable*booleanRelease back is offered now.
retriable*booleanCut over again is offered now.
pastPointOfNoReturn*booleanThe tool's object is being removed or was removed, so it cannot be released back.
removedAt?stringWhen the removal of the tool's object was sent.
date-timefailure?releaseRequestedBy?releaseRequestedAt?stringdate-timereleasedAt?stringWhen it was released back; absent unless it was.
date-timeendedAt?stringdate-timesnapshotId*stringThe cutover snapshot, which is approved and applied.
uuidbaseSnapshotId*stringThe render reviewed, which the cutover snapshot was made from.
uuidsnapshotSha*stringThe commit the render was made from, in full; empty when unknown.
tool*ImportToolKind"argocd""flux"source*counts*The differences a cutover was reviewed with, by where their review stood.
imagesKept*integercontentNotResynced*booleanReleased back, the tool has its object again but will not apply its own content by itself (Argo CD without automated sync and self-heal, a Kustomization suspended before the cutover): the content stays Wardn's render until the tool's next sync, a new commit or a sync someone starts.
leftAlone*array<string>What undoing it left as it was, since someone changed it after Wardn did or it was not Wardn's to delete: objects as group/kind/namespace/name, fields as that and a pointer.
inventoryUnreadable*integerObjects the tool manages that the cluster's operator could not read when it stopped the tool (outside the namespace, of a kind it may not read): they are not taken over and cannot be checked to survive the removal.
curl -X POST 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/import/cutover/retry'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "state": "awaiting_approval", "trigger": "person", "requestedBy": { "id": "string", "name": "string" }, "requestedAt": "2019-08-24T14:15:22Z", "startedAt": "2019-08-24T14:15:22Z", "step": 0, "steps": [ { "n": 1, "title": "string", "label": "string", "status": "pending", "note": "", "noteText": "string", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z" }, { "n": 1, "title": "string", "label": "string", "status": "pending", "note": "", "noteText": "string", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z" }, { "n": 1, "title": "string", "label": "string", "status": "pending", "note": "", "noteText": "string", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z" }, { "n": 1, "title": "string", "label": "string", "status": "pending", "note": "", "noteText": "string", "startedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z" } ], "wait": { "reason": "parent", "words": "string", "parent": { "kind": "string", "namespace": "string", "name": "string" }, "version": "string", "code": "string" }, "interruption": { "what": "string", "by": "string", "at": "2019-08-24T14:15:22Z", "turnedBackOn": true }, "approval": { "requestId": "d385ab22-0f51-4b97-9ecd-b8ff3fd4fcb6", "state": "open", "setBy": "string", "approvers": [ "string" ], "decision": "approve", "decidedBy": { "id": "string", "name": "string" }, "decidedAt": "2019-08-24T14:15:22Z" }, "releasable": true, "retriable": true, "pastPointOfNoReturn": true, "removedAt": "2019-08-24T14:15:22Z", "failure": { "code": "string", "message": "string" }, "releaseRequestedBy": { "id": "string", "name": "string" }, "releaseRequestedAt": "2019-08-24T14:15:22Z", "releasedAt": "2019-08-24T14:15:22Z", "endedAt": "2019-08-24T14:15:22Z", "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861", "baseSnapshotId": "50c8a023-0702-481c-b991-7f02a2c9d036", "snapshotSha": "string", "tool": "argocd", "source": { "kind": "string", "namespace": "string", "name": "string" }, "counts": { "accepted": 0, "open": 0, "expected": 0, "markers": 0, "autoscaled": 0, "images": 0, "hooks": 0 }, "imagesKept": 0, "contentNotResynced": true, "leftAlone": [ "string" ], "inventoryUnreadable": 0}Release an imported deployment back POST
Hands the deployment back to Argo CD or Flux: an attempt that wrote nothing is cancelled at once, with its approval request closed; one that wrote is undone by its workflow (`state` releasing, then released) and the deployment observes again. Those who may cut it over may, and so may the person who
List a deployment's timeline GET
The cluster timeline's entries that belong to the deployment, found by the `wardn.dev/deployment` annotation or, failing that, the deployment's namespace on its cluster. Newest first, grouped like the cluster timeline. A sync, rollback, restore, adopt or drift is in Activity, not here.