convoy docs
Search

Release diff

The difference between the desired render and the live objects.

GET releases/<name>/diff returns JSON. The observer runs a server-side apply dry run of the desired render and compares the result with the live objects.

ParameterEffect
render=<renderRef>Compares a render from the render store with the live objects.
json
{
  "objects": [
    {
      "group": "apps", "version": "v1", "kind": "Deployment",
      "namespace": "default", "name": "podinfo",
      "status": "Modified",
      "changes": [{ "path": "/spec/replicas", "op": "replace", "live": 3, "desired": 2 }]
    },
    { "version": "v1", "kind": "ConfigMap", "namespace": "default", "name": "podinfo", "status": "Missing" }
  ]
}
  • status is InSync, Modified or Missing.
  • Empty fields (group, namespace, changes, live, desired) are left out.
  • The compare ignores creationTimestamp, resourceVersion, uid, generation, managedFields and status.

In the code

convoy v0.9.0