Argo CD · Schema

v1alpha1ResourceDiff

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.

Continuous DeliveryContainersDeploymentGitOpsKubernetesCNCFOpen Source

Properties

Name Type Description
diff string Diff contains the JSON patch representing the difference between the live and target resource. Deprecated: Use NormalizedLiveState and PredictedLiveState instead to compute differences.
group string Group represents the API group of the resource (e.g., "apps" for Deployments).
hook boolean Hook indicates whether this resource is a hook resource (e.g., pre-sync or post-sync hooks).
kind string Kind represents the Kubernetes resource kind (e.g., "Deployment", "Service").
liveState string LiveState contains the JSON-serialized resource manifest of the resource currently running in the cluster.
modified boolean Modified indicates whether the live resource has changes compared to the target resource.
name string Name is the name of the resource.
namespace string Namespace specifies the namespace where the resource exists.
normalizedLiveState string NormalizedLiveState contains the JSON-serialized live resource state after applying normalizations. Normalizations may include ignoring irrelevant fields like timestamps or defaults applied by Kuberne
predictedLiveState string 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.
resourceVersion string ResourceVersion is the Kubernetes resource version, which helps in tracking changes.
targetState string TargetState contains the JSON-serialized resource manifest as defined in the Git/Helm repository.
View JSON Schema on GitHub