Link an Argo CD destination to a Wardn cluster
Says that a destination of this cluster's Argo CD (a cluster name or a server URL, as `spec.destination` has it) is the Wardn cluster `spokeClusterId`. Needs `import:manage` on this cluster and on the spoke, and only a person may, never an agent. Setting a link again replaces it. The cluster is scan
better-auth.session_token<token>Better Auth session cookie. Production uses the __Secure- prefixed name.
clusterId*stringuuidapplication/json- body
destination*stringThe Argo CD destination, a cluster name or a server URL.
1 <= length <= 512spokeClusterId*stringThe Wardn cluster the destination is.
uuidThe cluster's links after the change.
application/json- response
items*array<>curl -X PUT 'https://wardn.example.com/api/v1/clusters/497f6eca-6276-4993-bfeb-53cbbbba6f08/import-links' \ -H 'Content-Type: application/json' \ -d '{ "destination": "string", "spokeClusterId": "7fc26c90-2900-4322-9f7c-d88ce84109c0"}'{ "items": [ { "destination": "string", "spokeClusterId": "string", "spokeName": "string", "setBy": "string", "setAt": "2019-08-24T14:15:22Z" } ]}Remove the link of an Argo CD destination DELETE
Removes the link of the destination in the query; one that has none is not an error. Apps that were mapped by it wait for their cluster again at the next scan, which this asks for. Needs `import:manage` on this cluster. Recorded in Activity as `import.link_removed`.
List the apps a cluster's Argo CD or Flux manages that can be imported GET
One item per Argo CD Application (an ApplicationSet's generated ones included) or Flux Kustomization or HelmRelease the latest scan found, by name: where it comes from, where it deploys, whether it can be imported, the one-sentence note the import list shows and every finding behind it. Items that a