Skip to content

Commit ce868b6

Browse files
committed
Fixing default status on InferencePool
1 parent dfe8d9c commit ce868b6

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Diff for: api/v1alpha2/inferencepool_types.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,14 @@ type PoolStatus struct {
168168
//
169169
// Known condition types are:
170170
//
171-
// * "Ready"
171+
// * "Accepted"
172+
// * "ResolvedRefs"
172173
//
173174
// +optional
174175
// +listType=map
175176
// +listMapKey=type
176177
// +kubebuilder:validation:MaxItems=8
177-
// +kubebuilder:default={{type: "Ready", status: "Unknown", reason:"Pending", message:"Waiting for controller", lastTransitionTime: "1970-01-01T00:00:00Z"}}
178+
// +kubebuilder:default={{type: "Accepted", status: "Unknown", reason:"Pending", message:"Waiting for controller", lastTransitionTime: "1970-01-01T00:00:00Z"}}
178179
Conditions []metav1.Condition `json:"conditions,omitempty"`
179180
}
180181

Diff for: config/crd/bases/inference.networking.x-k8s.io_inferencepools.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,14 @@ spec:
154154
message: Waiting for controller
155155
reason: Pending
156156
status: Unknown
157-
type: Ready
157+
type: Accepted
158158
description: |-
159159
Conditions track the state of the InferencePool.
160160
161161
Known condition types are:
162162
163-
* "Ready"
163+
* "Accepted"
164+
* "ResolvedRefs"
164165
items:
165166
description: Condition contains details for one aspect of
166167
the current state of this API Resource.

0 commit comments

Comments
 (0)