Adds ObservedGeneration to issuer condition status

Signed-off-by: joshvanl <vleeuwenjoshua@gmail.com>
This commit is contained in:
joshvanl
2021-03-15 15:04:00 +00:00
parent 70c66e02a0
commit f905f6a2aa
5 changed files with 39 additions and 0 deletions
+8
View File
@@ -323,6 +323,14 @@ type IssuerCondition 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 Issuer.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}
// IssuerConditionType represents an Issuer condition value.
@@ -319,6 +319,14 @@ type IssuerCondition 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 Issuer.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}
// IssuerConditionType represents an Issuer condition value.
@@ -319,6 +319,14 @@ type IssuerCondition 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"`
}
// IssuerConditionType represents an Issuer condition value.
@@ -321,6 +321,14 @@ type IssuerCondition 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"`
}
// IssuerConditionType represents an Issuer condition value.
@@ -289,6 +289,13 @@ type IssuerCondition 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 Issuer.
ObservedGeneration int64
}
// IssuerConditionType represents an Issuer condition value.