-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade kserve version to v0.12.1 in odh-model-controller #210
Upgrade kserve version to v0.12.1 in odh-model-controller #210
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vaibhavjainwiz The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Vaibhav Jain <vajain@redhat.com>
bd5c6e1
to
eb466e1
Compare
Signed-off-by: Vaibhav Jain <vajain@redhat.com>
/test unit |
/retest |
@@ -26,11 +27,11 @@ func NewKsvcValidator(client client.Client) *ksvcValidator { | |||
return &ksvcValidator{client: client} | |||
} | |||
|
|||
func (v *ksvcValidator) ValidateCreate(ctx context.Context, obj runtime.Object) error { | |||
func (v *ksvcValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (warnings admission.Warnings, err error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you need to add an additional return object (warnings) that seems to be always null?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
its a new method signature of ValidateCreate
in controller-runtime v0.16.3.
https://github.com/kubernetes-sigs/controller-runtime/blob/v0.16.4/pkg/webhook/admission/validator.go#L42
/lgtm |
Description
modelmesh-serving has already been upgraded to Kserve v0.12 but odh-model-controller is left behind. With this PR I mean to upgrade the kserve version
odh-model-controller
to v0.12.How Has This Been Tested?
Merge criteria: