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

fix: replace image tag #2074

Merged
merged 2 commits into from
Mar 6, 2022
Merged

fix: replace image tag #2074

merged 2 commits into from
Mar 6, 2022

Conversation

ittus
Copy link
Contributor

@ittus ittus commented Mar 4, 2022

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #2068

Type of changes
Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

  • Logs

Special notes for your reviewer:

  1. Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Checklist:

  • Have you added unit/e2e tests that prove your fix is effective or that this feature works?

Signed-off-by: Thang Vu <vuminhthang.cm@gmail.com>
@aws-kf-ci-bot
Copy link
Contributor

Hi @ittus. Thanks for your PR.

I'm waiting for a kserve member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@yuzisun
Copy link
Member

yuzisun commented Mar 5, 2022

/ok-to-test

@@ -186,7 +187,12 @@ func ReplacePlaceholders(container *v1.Container, meta metav1.ObjectMeta) error
func UpdateImageTag(container *v1.Container, runtimeVersion *string, isvcConfig *v1beta1.InferenceServicesConfig) {
image := container.Image
if runtimeVersion != nil && len(strings.Split(image, ":")) > 0 {
Copy link
Member

Choose a reason for hiding this comment

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

I think now the len(strings.Split(image, ":")) > 0 check is redundant and can be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. I removed it in cc1397c

@yuzisun
Copy link
Member

yuzisun commented Mar 5, 2022

@ittus Thanks for the fix! a small comment otherwise it looks good.

Signed-off-by: Thang Vu <vuminhthang.cm@gmail.com>
@yuzisun
Copy link
Member

yuzisun commented Mar 6, 2022

Thanks @ittus for your contribution!!

/lgtm
/approve

@kserve-oss-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ittus, yuzisun

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

@kserve-oss-bot kserve-oss-bot merged commit d1c24cd into kserve:master Mar 6, 2022
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.

Cannot use colon with proxy port in predictor image name in inferenceservice-config
4 participants