Get what differs from the snapshot a deployment runs
The objects, and the fields of each, that the operator last found different from what Wardn applied, on each cluster the deployment runs on. Only fields Wardn owns count: a field another controller owns, such as an autoscaler's replica count, is never drift. An empty list means no drift.
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
deploymentId*stringuuidThe deployment's current drift.
application/json- response
recorded*|The history event the drift was recorded as; null when there is no drift.
deploymentId*stringuuiddrift*clusters*array<>curl -X GET 'https://wardn.example.com/api/v1/deployments/497f6eca-6276-4993-bfeb-53cbbbba6f08/drift'{ "recorded": { "eventId": "d6703cc8-9e79-415d-ac03-a4dc7f6ab43c", "contentId": "string", "detectedAt": "2019-08-24T14:15:22Z" }, "deploymentId": "a73c85a1-d857-491e-a6b2-51dce05de7a2", "drift": { "status": "none", "count": 0 }, "clusters": [ { "clusterId": "a3d24843-7014-4490-bdd3-b7cb39b400c8", "snapshotId": "09520abc-01e6-4da1-8fa5-f10e3883c861", "checkedAt": "2019-08-24T14:15:22Z", "objects": [ { "appId": "28c365d5-df94-4a54-8217-3ce51d068868", "appName": "string", "group": "string", "version": "string", "kind": "string", "namespace": "string", "name": "string", "missing": true, "fields": [ { "path": "string", "desired": "string", "live": "string" } ] } ] } ]}Reject a held prune POST
Leaves the objects where they are. The next apply holds the same prune again if the snapshot still drops them.
Get the secrets a deployment refers to GET
The secrets the deployment says it needs, each with where it lives and what was last found: present, missing or stale, and a fingerprint. Wardn never stores or returns a secret's value. The fingerprint is a hash computed where the value lives, so a change shows without the value being seen.