Skip to content

Commit 2c80f45

Browse files
authored
API compliance fix and build fixes (#114)
* API compliance fix and build fixes * minor update * fixing busted test, update naming, linter fixes
1 parent dabf28c commit 2c80f45

22 files changed

+61
-418
lines changed

api/v1alpha1/inferencemodel_types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ type InferenceModelSpec struct {
6565
// Reference to the inference pool, the pool must exist in the same namespace.
6666
//
6767
// +kubebuilder:validation:Required
68-
PoolRef *PoolObjectReference `json:"poolRef,omitempty"`
68+
PoolRef PoolObjectReference `json:"poolRef"`
6969
}
7070

7171
// PoolObjectReference identifies an API object within the namespace of the

api/v1alpha1/zz_generated.deepcopy.go

+1-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ spec:
6767
type: object
6868
targetPortNumber:
6969
description: |-
70-
TargetPort is the port number that the model servers within the pool expect
70+
TargetPortNumber is the port number that the model servers within the pool expect
7171
to recieve traffic from.
7272
This maps to the TargetPort in: https://pkg.go.dev/k8s.io/api/core/v1#ServicePort
7373
format: int32

config/crd/bases/inference.networking.x-k8s.io_llmserverpools.yaml

-127
This file was deleted.

0 commit comments

Comments
 (0)