fix(crd): Declare StartedAt field from Build CRD as nullable
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 @@
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 @@
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"`