Skip to main content
logoTetrate Service BridgeVersion: 1.6.x

Condition

Condition contains details for one aspect of the current state of an API Resource.

Condition

Condition contains details for one aspect of the current state of an API Resource.

FieldDescriptionValidation Rule

type

string
REQUIRED
Type of condition in CamelCase or in foo.example.com/CamelCase.

string = {
  min_len: 1
}

status

string
REQUIRED
Status of the condition, one of True, False, Unknown.

string = {
  in: True,False,Unknown
}

reason

string
REQUIRED
Reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string.

string = {
  min_len: 1
}

message

string
Message is a human readable message indicating details about the transition.

lastTransitionTime

google.protobuf.Timestamp
LastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.

observedGeneration

int64
ObservedGeneration 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.