Adds ObservedGeneration int64 field to Certificate Conditions

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
This commit is contained in:
joshvanl 2021-01-28 15:42:45 +00:00
parent 28fc97699e
commit efdb73b446
5 changed files with 39 additions and 0 deletions

View File

@ -383,6 +383,14 @@ type CertificateCondition struct {
// transition, complementing reason.
// +optional
Message string `json:"message,omitempty"`
// If set, this represents the .metadata.generation that the condition was
// set based upon.
// For instance, if .metadata.generation is currently 12, but the
// .status.condition[x].observedGeneration is 9, the condition is out of date
// with respect to the current state of the Certificate.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}
// CertificateConditionType represents an Certificate condition value.

View File

@ -371,6 +371,14 @@ type CertificateCondition struct {
// transition, complementing reason.
// +optional
Message string `json:"message,omitempty"`
// If set, this represents the .metadata.generation that the condition was
// set based upon.
// For instance, if .metadata.generation is currently 12, but the
// .status.condition[x].observedGeneration is 9, the condition is out of date
// with respect to the current state of the Certificate.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}
// CertificateConditionType represents an Certificate condition value.

View File

@ -378,6 +378,14 @@ type CertificateCondition struct {
// transition, complementing reason.
// +optional
Message string `json:"message,omitempty"`
// If set, this represents the .metadata.generation that the condition was
// set based upon.
// For instance, if .metadata.generation is currently 12, but the
// .status.condition[x].observedGeneration is 9, the condition is out of date
// with respect to the current state of the Certificate.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}
// CertificateConditionType represents an Certificate condition value.

View File

@ -376,6 +376,14 @@ type CertificateCondition struct {
// transition, complementing reason.
// +optional
Message string `json:"message,omitempty"`
// If set, this represents the .metadata.generation that the condition was
// set based upon.
// For instance, if .metadata.generation is currently 12, but the
// .status.condition[x].observedGeneration is 9, the condition is out of date
// with respect to the current state of the Certificate.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}
// CertificateConditionType represents an Certificate condition value.

View File

@ -334,6 +334,13 @@ type CertificateCondition struct {
// Message is a human readable description of the details of the last
// transition, complementing reason.
Message string
// If set, this represents the .metadata.generation that the condition was
// set based upon.
// For instance, if .metadata.generation is currently 12, but the
// .status.condition[x].observedGeneration is 9, the condition is out of date
// with respect to the current state of the Certificate.
ObservedGeneration int64
}
// CertificateConditionType represents an Certificate condition value.