Skip to main content
Version: 0.9.0

GraphRevision

The GraphRevision is an immutable snapshot of a ResourceGraphDefinition spec. kro creates GraphRevisions internally to track revision history and enable safe rollouts.


API Specification

API Version
internal.kro.run/v1alpha1
Kind
GraphRevision
Scope
Cluster

Fields Reference

Spec

FieldTypeDescription
revisionrequired
integerRevision is a monotonic revision number assigned per ResourceGraphDefinition name.
snapshotrequired
objectSnapshot is an immutable capture of the source ResourceGraphDefinition identity and spec at the time this revision was issued.
generationrequired
integerGeneration is the metadata.generation of the source ResourceGraphDefinition when this revision was issued. Informational only.
namerequired
stringName identifies the source ResourceGraphDefinition by name. This is the authoritative identity for adoption decisions.
specrequired
objectSpec is an immutable copy of the source ResourceGraphDefinition spec. This includes user-authored schema and resource templates.

Status

FieldTypeDescription
conditions
[]objectConditions represent the latest available observations of the GraphRevision state. GraphRevision exposes GraphVerified plus aggregate Ready.
lastTransitionTime
stringLast time the condition transitioned from one status to another.
message
stringA human-readable message indicating details about the transition.
observedGeneration
integerobservedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance.
reason
stringThe reason for the condition's last transition.
statusrequired
stringStatus of the condition, one of True, False, Unknown.
typerequired
stringType is the type of the Condition
resources
[]objectResources provides detailed information about each resource in the graph.
dependencies
[]objectDependencies lists all resources that this resource depends on. A resource depends on another if it references it in a CEL expression. These dependencies determine the order of resource creation.
id
stringID is the unique identifier of the resource as defined in the resources list.
topologicalOrder
[]stringTopologicalOrder is the ordered list of resource IDs based on dependencies.

Brought to you with ♥ by SIG Cloud Provider