Skip to content

Commit 541deea

Browse files
add optional clusterID to QdrantEntity (#96)
1 parent 6227cde commit 541deea

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

api/v1/qdrantentity_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ type QdrantEntitySpec struct {
2121
Id string `json:"id,omitempty"`
2222
// The type of the entity.
2323
EntityType string `json:"entityType,omitempty"`
24+
// The optional cluster identifier
25+
// +optional
26+
ClusterId string `json:"clusterId,omitempty"`
2427
// Timestamp when the entity was created.
2528
CreatedAt metav1.Time `json:"createdAt,omitempty"`
2629
// Timestamp when the entity was last updated.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ spec:
4949
spec:
5050
description: QdrantEntitySpec defines the desired state of QdrantEntity
5151
properties:
52+
clusterId:
53+
description: The optional cluster identifier
54+
type: string
5255
createdAt:
5356
description: Timestamp when the entity was created.
5457
format: date-time

crds/qdrant.io_qdrantentities.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ spec:
4848
spec:
4949
description: QdrantEntitySpec defines the desired state of QdrantEntity
5050
properties:
51+
clusterId:
52+
description: The optional cluster identifier
53+
type: string
5154
createdAt:
5255
description: Timestamp when the entity was created.
5356
format: date-time

docs/api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,7 @@ _Appears in:_
882882
| --- | --- | --- | --- |
883883
| `id` _string_ | The unique identifier of the entity (in UUID format). | | |
884884
| `entityType` _string_ | The type of the entity. | | |
885+
| `clusterId` _string_ | The optional cluster identifier | | |
885886
| `createdAt` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#time-v1-meta)_ | Timestamp when the entity was created. | | |
886887
| `lastUpdatedAt` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#time-v1-meta)_ | Timestamp when the entity was last updated. | | |
887888
| `deletedAt` _[Time](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.28/#time-v1-meta)_ | Timestamp when the entity was deleted (or is started to be deleting).<br />If not set the entity is not deleted | | |

0 commit comments

Comments
 (0)