@@ -251,7 +251,129 @@ spec:
251251 type : object
252252 status :
253253 description : status defines the observed state of Trigger
254- type : string
254+ properties :
255+ attempts :
256+ description : Attempts tracks the number of times this step has been
257+ attempted.
258+ format : int32
259+ type : integer
260+ conditions :
261+ description : |-
262+ Conditions represent the latest available observations of the trigger's state.
263+ Examples: Ready, Failed, CooldownActive
264+ items :
265+ description : Condition contains details for one aspect of the current
266+ state of this API Resource.
267+ properties :
268+ lastTransitionTime :
269+ description : |-
270+ lastTransitionTime is the last time the condition transitioned from one status to another.
271+ This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
272+ format : date-time
273+ type : string
274+ message :
275+ description : |-
276+ message is a human readable message indicating details about the transition.
277+ This may be an empty string.
278+ maxLength : 32768
279+ type : string
280+ observedGeneration :
281+ description : |-
282+ observedGeneration represents the .metadata.generation that the condition was set based upon.
283+ For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
284+ with respect to the current state of the instance.
285+ format : int64
286+ minimum : 0
287+ type : integer
288+ reason :
289+ description : |-
290+ reason contains a programmatic identifier indicating the reason for the condition's last transition.
291+ Producers of specific condition types may define expected values and meanings for this field,
292+ and whether the values are considered a guaranteed API.
293+ The value should be a CamelCase string.
294+ This field may not be empty.
295+ maxLength : 1024
296+ minLength : 1
297+ pattern : ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
298+ type : string
299+ status :
300+ description : status of the condition, one of True, False, Unknown.
301+ enum :
302+ - " True"
303+ - " False"
304+ - Unknown
305+ type : string
306+ type :
307+ description : type of condition in CamelCase or in foo.example.com/CamelCase.
308+ maxLength : 316
309+ pattern : ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
310+ type : string
311+ required :
312+ - lastTransitionTime
313+ - message
314+ - reason
315+ - status
316+ - type
317+ type : object
318+ type : array
319+ cooldownUntil :
320+ description : CooldownUntil is the next eligible time this trigger
321+ can fire, based on Cooldown setting.
322+ format : date-time
323+ type : string
324+ failedAttempts :
325+ description : FailedAttempts tracks the number of failed attempts.
326+ format : int32
327+ type : integer
328+ lastAttemptTime :
329+ description : LastAttemptTime is the timestamp of the last attempt.
330+ format : date-time
331+ type : string
332+ lastCheckTime :
333+ description : LastCheckTime is the last time the controller evaluated
334+ whether to trigger.
335+ format : date-time
336+ type : string
337+ lastFailureTime :
338+ description : LastFailureTime is the timestamp of the last failure.
339+ format : date-time
340+ type : string
341+ lastRunJobName :
342+ description : LastRunJobName is the name of the last Kubernetes Job
343+ created by this trigger.
344+ type : string
345+ lastTriggeredTime :
346+ description : LastTriggeredTime is the last time this trigger successfully
347+ resulted in a pipeline activation.
348+ format : date-time
349+ type : string
350+ maxRetries :
351+ description : MaxRetries defines the maximum number of retries allowed.
352+ format : int32
353+ type : integer
354+ message :
355+ description : Message provides human-readable information about the
356+ trigger status or last evaluation.
357+ type : string
358+ observedGeneration :
359+ description : ObservedGeneration is the most recent generation observed
360+ by the controller.
361+ format : int64
362+ type : integer
363+ retryCount :
364+ description : RetryCount tracks the number of retries for the current
365+ attempt.
366+ format : int32
367+ type : integer
368+ status :
369+ description : Status is the status of the Trigger (e.g., Deployed,
370+ Failed, Pending, Running).
371+ type : string
372+ successfulAttempts :
373+ description : SuccessfulAttempts tracks the number of successful attempts.
374+ format : int32
375+ type : integer
376+ type : object
255377 required :
256378 - spec
257379 type : object
0 commit comments