@@ -93,9 +93,11 @@ type Extension struct {
93
93
ExtensionConnection `json:",inline"`
94
94
}
95
95
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.
99
101
type ExtensionReference struct {
100
102
// Group is the group of the referent.
101
103
// The default value is "", representing the Core API group.
@@ -209,6 +211,7 @@ const (
209
211
// Possible reasons for this condition to be False are:
210
212
//
211
213
// * "NotSupportedByGateway"
214
+ // * "HTTPRouteNotAccepted"
212
215
//
213
216
// Possible reasons for this condition to be Unknown are:
214
217
//
@@ -227,6 +230,11 @@ const (
227
230
// InferencePool as a backend.
228
231
InferencePoolReasonNotSupportedByGateway InferencePoolReason = "NotSupportedByGateway"
229
232
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
+
230
238
// This reason is used with the "Accepted" when a controller has not yet
231
239
// reconciled the InferencePool.
232
240
InferencePoolReasonPending InferencePoolReason = "Pending"
@@ -236,7 +244,7 @@ const (
236
244
// This condition indicates whether the controller was able to resolve all
237
245
// the object references for the InferencePool.
238
246
//
239
- // Possible reasons for this condition to be true are:
247
+ // Possible reasons for this condition to be True are:
240
248
//
241
249
// * "ResolvedRefs"
242
250
//
0 commit comments