Skip to content

Commit 92f9a73

Browse files
committed
update crd for warnings and failure props
1 parent e510cd3 commit 92f9a73

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
@@ -381,6 +381,25 @@ spec:
381381
createdAt:
382382
format: date-time
383383
type: string
384+
failure:
385+
properties:
386+
code:
387+
type: string
388+
context:
389+
type: string
390+
message:
391+
type: string
392+
stepIndex:
393+
type: integer
394+
transient:
395+
type: boolean
396+
required:
397+
- code
398+
- context
399+
- message
400+
- stepIndex
401+
- transient
402+
type: object
384403
observedGeneration:
385404
format: int64
386405
type: integer
@@ -399,8 +418,6 @@ spec:
399418
items:
400419
description: StepStatus
401420
properties:
402-
failureSummary:
403-
type: string
404421
getPromotionValues:
405422
properties:
406423
commitAuthorAvatarUrl:
@@ -633,6 +650,27 @@ spec:
633650
updatedAt:
634651
format: date-time
635652
type: string
653+
warnings:
654+
items:
655+
properties:
656+
code:
657+
type: string
658+
context:
659+
type: string
660+
message:
661+
type: string
662+
stepIndex:
663+
type: integer
664+
transient:
665+
type: boolean
666+
required:
667+
- code
668+
- context
669+
- message
670+
- stepIndex
671+
- transient
672+
type: object
673+
type: array
636674
required:
637675
- createdAt
638676
- phase

0 commit comments

Comments
 (0)