Skip to content

Commit b5fed65

Browse files
committed
update crd for warnings and failure props
1 parent 17d2cc8 commit b5fed65

File tree

1 file changed

+40
-2
lines changed

1 file changed

+40
-2
lines changed

charts/gitops-runtime/templates/_components/gitops-operator/crds/promotiontasks.yaml

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,25 @@ spec:
366366
createdAt:
367367
format: date-time
368368
type: string
369+
failure:
370+
properties:
371+
code:
372+
type: string
373+
context:
374+
type: string
375+
message:
376+
type: string
377+
stepIndex:
378+
type: integer
379+
transient:
380+
type: boolean
381+
required:
382+
- code
383+
- context
384+
- message
385+
- stepIndex
386+
- transient
387+
type: object
369388
observedGeneration:
370389
format: int64
371390
type: integer
@@ -384,8 +403,6 @@ spec:
384403
items:
385404
description: StepStatus
386405
properties:
387-
failureSummary:
388-
type: string
389406
getPromotionValues:
390407
properties:
391408
phase:
@@ -614,6 +631,27 @@ spec:
614631
updatedAt:
615632
format: date-time
616633
type: string
634+
warnings:
635+
items:
636+
properties:
637+
code:
638+
type: string
639+
context:
640+
type: string
641+
message:
642+
type: string
643+
stepIndex:
644+
type: integer
645+
transient:
646+
type: boolean
647+
required:
648+
- code
649+
- context
650+
- message
651+
- stepIndex
652+
- transient
653+
type: object
654+
type: array
617655
required:
618656
- createdAt
619657
- phase

0 commit comments

Comments
 (0)