Skip to content

Commit 74a7a08

Browse files
add Modifying phase to Entity Status
1 parent 53307cf commit 74a7a08

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

api/v1/qdrantentity_types.go

+7-6
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,20 @@ type EntityPhase string
5757

5858
//goland:noinspection GoUnusedConst
5959
const (
60-
EntityPhaseCreating EntityPhase = "Creating"
61-
EntityPhaseReady EntityPhase = "Ready"
62-
EntityPhaseFailing EntityPhase = "Failing"
63-
EntityPhaseDeleting EntityPhase = "Deleting"
64-
EntityPhaseDeleted EntityPhase = "Deleted"
60+
EntityPhaseCreating EntityPhase = "Creating"
61+
EntityPhaseReady EntityPhase = "Ready"
62+
EntityPhaseModifying EntityPhase = "Modifying"
63+
EntityPhaseFailing EntityPhase = "Failing"
64+
EntityPhaseDeleting EntityPhase = "Deleting"
65+
EntityPhaseDeleted EntityPhase = "Deleted"
6566
)
6667

6768
// QdrantEntitySpecStatus defines the observed state of QdrantEntitySpec
6869
// +kubebuilder:pruning:PreserveUnknownFields
6970

7071
type QdrantEntityStatus struct {
7172
// Phase is the current phase of the entity
72-
// +kubebuilder:validation:Enum=Creating;Ready;Failing;Deleting;Deleted
73+
// +kubebuilder:validation:Enum=Creating;Ready;Modifying;Failing;Deleting;Deleted
7374
Phase EntityPhase `json:"phase,omitempty"`
7475
// Result is the last result from the invocation to a manager
7576
Result QdrantEntityStatusResult `json:"result,omitempty"`

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

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ spec:
8787
enum:
8888
- Creating
8989
- Ready
90+
- Modifying
9091
- Failing
9192
- Deleting
9293
- Deleted

crds/qdrant.io_qdrantentities.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ spec:
8686
enum:
8787
- Creating
8888
- Ready
89+
- Modifying
8990
- Failing
9091
- Deleting
9192
- Deleted

0 commit comments

Comments
 (0)