Models

applicationApplicationServerSideDiffResponse

object
Show child attributes

ResourceDiff holds the diff between a live and target resource object in Argo CD. It is used to compare the desired state (from Git/Helm) with the actual state in the cluster.

diffstring

Diff contains the JSON patch representing the difference between the live and target resource.

Deprecated: Use NormalizedLiveState and PredictedLiveState instead to compute differences.

groupstring

Group represents the API group of the resource (e.g., "apps" for Deployments).

hookboolean

Hook indicates whether this resource is a hook resource (e.g., pre-sync or post-sync hooks).

kindstring

Kind represents the Kubernetes resource kind (e.g., "Deployment", "Service").

liveStatestring

LiveState contains the JSON-serialized resource manifest of the resource currently running in the cluster.

modifiedboolean

Modified indicates whether the live resource has changes compared to the target resource.

namestring

Name is the name of the resource.

namespacestring

Namespace specifies the namespace where the resource exists.

normalizedLiveStatestring

NormalizedLiveState contains the JSON-serialized live resource state after applying normalizations. Normalizations may include ignoring irrelevant fields like timestamps or defaults applied by Kubernetes.

predictedLiveStatestring

PredictedLiveState contains the JSON-serialized resource state that Argo CD predicts based on the combination of the normalized live state and the desired target state.

resourceVersionstring

ResourceVersion is the Kubernetes resource version, which helps in tracking changes.

targetStatestring

TargetState contains the JSON-serialized resource manifest as defined in the Git/Helm repository.

modifiedboolean