Skip to content

Commit cfd5d7e

Browse files
committed
Extend BuildRun CRD with Conditions fields
This adds support for the CRD to inline with the BuildRun types changes.
1 parent c3a6ad6 commit cfd5d7e

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

deploy/crds/build.dev_buildruns_crd.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,35 @@ spec:
311311
description: CompletionTime is the time the build completed.
312312
format: date-time
313313
type: string
314+
conditions:
315+
description: Conditions
316+
items:
317+
description: Condition defines the required fields for populating
318+
Build controllers Conditions
319+
properties:
320+
lastTransitionTime:
321+
description: LastTransitionTime last time the condition transit
322+
from one status to another.
323+
format: date-time
324+
type: string
325+
message:
326+
description: A human readable message indicating details about
327+
the transition.
328+
type: string
329+
reason:
330+
description: The reason for the condition last transition.
331+
type: string
332+
status:
333+
description: Status of the condition, one of True, False, Unknown.
334+
type: string
335+
type:
336+
description: Type of condition
337+
type: string
338+
required:
339+
- status
340+
- type
341+
type: object
342+
type: array
314343
latestTaskRunRef:
315344
description: PodName is the name of the pod responsible for executing
316345
this task's steps.

0 commit comments

Comments
 (0)