@@ -93,9 +93,11 @@ type Extension struct {
9393 ExtensionConnection `json:",inline"`
9494}
9595
96- // ExtensionReference is a reference to the extension deployment. When ExtensionReference is invalid,
97- // a 5XX status code MUST be returned for the request that would have otherwise been routed to the
98- // invalid backend.
96+ // ExtensionReference is a reference to the extension.
97+ //
98+ // If a reference is invalid, the implementation MUST update the `ResolvedRefs`
99+ // Condition on the InferencePool's status to `status: False`. A 5XX status code MUST be returned
100+ // for the request that would have otherwise been routed to the invalid backend.
99101type ExtensionReference struct {
100102 // Group is the group of the referent.
101103 // The default value is "", representing the Core API group.
@@ -209,6 +211,7 @@ const (
209211 // Possible reasons for this condition to be False are:
210212 //
211213 // * "NotSupportedByGateway"
214+ // * "HTTPRouteNotAccepted"
212215 //
213216 // Possible reasons for this condition to be Unknown are:
214217 //
@@ -227,6 +230,11 @@ const (
227230 // InferencePool as a backend.
228231 InferencePoolReasonNotSupportedByGateway InferencePoolReason = "NotSupportedByGateway"
229232
233+ // This reason is used with the "Accepted" condition when the InferencePool is
234+ // referenced by an HTTPRoute that has been rejected by the Gateway. The user
235+ // should inspect the status of the referring HTTPRoute for the specific reason.
236+ InferencePoolReasonHTTPRouteNotAccepted InferencePoolReason = "HTTPRouteNotAccepted"
237+
230238 // This reason is used with the "Accepted" when a controller has not yet
231239 // reconciled the InferencePool.
232240 InferencePoolReasonPending InferencePoolReason = "Pending"
@@ -236,7 +244,7 @@ const (
236244 // This condition indicates whether the controller was able to resolve all
237245 // the object references for the InferencePool.
238246 //
239- // Possible reasons for this condition to be true are:
247+ // Possible reasons for this condition to be True are:
240248 //
241249 // * "ResolvedRefs"
242250 //
0 commit comments