applicationApplicationServerSideDiffResponse
objectShow 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.
diffstringDiff contains the JSON patch representing the difference between the live and target resource.
Deprecated: Use NormalizedLiveState and PredictedLiveState instead to compute differences.
groupstringGroup represents the API group of the resource (e.g., "apps" for Deployments).
hookbooleanHook indicates whether this resource is a hook resource (e.g., pre-sync or post-sync hooks).
kindstringKind represents the Kubernetes resource kind (e.g., "Deployment", "Service").
liveStatestringLiveState contains the JSON-serialized resource manifest of the resource currently running in the cluster.
modifiedbooleanModified indicates whether the live resource has changes compared to the target resource.
namestringName is the name of the resource.
namespacestringNamespace specifies the namespace where the resource exists.
normalizedLiveStatestringNormalizedLiveState contains the JSON-serialized live resource state after applying normalizations. Normalizations may include ignoring irrelevant fields like timestamps or defaults applied by Kubernetes.
predictedLiveStatestringPredictedLiveState contains the JSON-serialized resource state that Argo CD predicts based on the combination of the normalized live state and the desired target state.
resourceVersionstringResourceVersion is the Kubernetes resource version, which helps in tracking changes.
targetStatestringTargetState contains the JSON-serialized resource manifest as defined in the Git/Helm repository.
modifiedboolean