This is an automated email from the ASF dual-hosted git repository.

astefanutti pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit be8553a9a4a6f2323612c85f013aef0378731856
Author: Antonin Stefanutti <[email protected]>
AuthorDate: Thu Jun 11 15:08:33 2020 +0200

    fix(crd): Declare StartedAt field from Build CRD as nullable
---
 deploy/crd-build.yaml            | 1 +
 pkg/apis/camel/v1/build_types.go | 1 +
 2 files changed, 2 insertions(+)

diff --git a/deploy/crd-build.yaml b/deploy/crd-build.yaml
index 3c78b7e..b07f530 100644
--- a/deploy/crd-build.yaml
+++ b/deploy/crd-build.yaml
@@ -4694,6 +4694,7 @@ spec:
                   type: string
                 startedAt:
                   format: date-time
+                  nullable: true
                   type: string
               type: object
           type: object
diff --git a/pkg/apis/camel/v1/build_types.go b/pkg/apis/camel/v1/build_types.go
index a6461a6..d10ace3 100644
--- a/pkg/apis/camel/v1/build_types.go
+++ b/pkg/apis/camel/v1/build_types.go
@@ -89,6 +89,7 @@ type BuildStatus struct {
        Artifacts  []Artifact       `json:"artifacts,omitempty"`
        Error      string           `json:"error,omitempty"`
        Failure    *Failure         `json:"failure,omitempty"`
+       // +nullable
        StartedAt  metav1.Time      `json:"startedAt,omitempty"`
        Platform   string           `json:"platform,omitempty"`
        Conditions []BuildCondition `json:"conditions,omitempty"`

Reply via email to