get_gitops_status
The GitOps sync state of a cluster (the twin of ankra cluster gitops status): the connected repository and branch with the credential it authenticates with, sync status and phase, the last synced and pending commits, the last error, and two silent-breakage signals the portal's overview hides - credential_missing (the binding names a credential that no longer exists) and source_mismatch (the last sync resolved a different repository than the one configured). Use this before blaming a stack when a change committed to Git has not reached the cluster. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_id | No | UUID of the target cluster. Optional when a cluster is selected. | |
| cluster_name | No | Exact name of the target cluster. Optional when a cluster is selected. |