Skip to content
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

Merged

Conversation

vaibhavjainwiz
Copy link
Member

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:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

Copy link
Contributor

openshift-ci bot commented May 30, 2024

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Signed-off-by: Vaibhav Jain <vajain@redhat.com>
Signed-off-by: Vaibhav Jain <vajain@redhat.com>
Containerfile Outdated Show resolved Hide resolved
Signed-off-by: Vaibhav Jain <vajain@redhat.com>
@vaibhavjainwiz
Copy link
Member Author

/test unit

@vaibhavjainwiz
Copy link
Member Author

/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) {

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Signed-off-by: Vaibhav Jain <vajain@redhat.com>
@Jooho
Copy link
Contributor

Jooho commented Jun 3, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Jun 3, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit ac9b149 into opendatahub-io:main Jun 3, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants