Skip to content

Commit 4216bb7

Browse files
feat: runtime helm: add timestamps to failure and warnings (#796)
* update crd * [gitops-operator]feat: operator: add timestamps to failure and warnings --------- Co-authored-by: codefresh-v2-pipelines[bot] <109073600+codefresh-v2-pipelines[bot]@users.noreply.github.com>
1 parent 326ea98 commit 4216bb7

File tree

2 files changed

+26
-12
lines changed

2 files changed

+26
-12
lines changed

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

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -385,19 +385,27 @@ spec:
385385
type: string
386386
failure:
387387
properties:
388-
code:
389-
type: string
390-
message:
391-
type: string
392-
stepIndex:
393-
type: integer
394-
while:
388+
error:
389+
properties:
390+
code:
391+
type: string
392+
message:
393+
type: string
394+
stepIndex:
395+
type: integer
396+
while:
397+
type: string
398+
required:
399+
- code
400+
- message
401+
- stepIndex
402+
- while
403+
type: object
404+
timestamp:
405+
format: date-time
395406
type: string
396407
required:
397-
- code
398-
- message
399-
- stepIndex
400-
- while
408+
- error
401409
type: object
402410
observedGeneration:
403411
format: int64
@@ -670,9 +678,15 @@ spec:
670678
- stepIndex
671679
- while
672680
type: object
681+
timestamps:
682+
items:
683+
format: date-time
684+
type: string
685+
type: array
673686
required:
674687
- count
675688
- error
689+
- timestamps
676690
type: object
677691
type: array
678692
required:

charts/gitops-runtime/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ gitops-operator:
634634
# -- defaults
635635
registry: quay.io
636636
repository: codefresh/codefresh-gitops-operator
637-
tag: 4d0942a
637+
tag: "6881890"
638638
env:
639639
GITOPS_OPERATOR_VERSION: 0.11.1
640640
serviceAccount:

0 commit comments

Comments
 (0)