Skip to content

Commit 53307cf

Browse files
add lastUpdatedAt to Entity Status to track changes
1 parent 253b425 commit 53307cf

File tree

4 files changed

+11
-0
lines changed

4 files changed

+11
-0
lines changed

api/v1/qdrantentity_types.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ type QdrantEntityStatus struct {
7373
Phase EntityPhase `json:"phase,omitempty"`
7474
// Result is the last result from the invocation to a manager
7575
Result QdrantEntityStatusResult `json:"result,omitempty"`
76+
// Timestamp when the status was last updated.
77+
LastUpdatedAt metav1.Time `json:"lastUpdatedAt,omitempty"`
7678
}
7779

7880
// EntityResult is the last result from the invocation to a manager

api/v1/zz_generated.deepcopy.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

charts/qdrant-kubernetes-api/templates/region-crds/qdrant.io_qdrantentities.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ spec:
7878
type: object
7979
status:
8080
properties:
81+
lastUpdatedAt:
82+
description: Timestamp when the status was last updated.
83+
format: date-time
84+
type: string
8185
phase:
8286
description: Phase is the current phase of the entity
8387
enum:

crds/qdrant.io_qdrantentities.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ spec:
7777
type: object
7878
status:
7979
properties:
80+
lastUpdatedAt:
81+
description: Timestamp when the status was last updated.
82+
format: date-time
83+
type: string
8084
phase:
8185
description: Phase is the current phase of the entity
8286
enum:

0 commit comments

Comments
 (0)