-
Notifications
You must be signed in to change notification settings - Fork 167
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 issue that fetch the wrong Notebook Image if two Imagestream Version shared the same sha #2867
Fix issue that fetch the wrong Notebook Image if two Imagestream Version shared the same sha #2867
Conversation
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.
Hi Lucas, the solution works well on my osia cluster. I tested it with the quay.io/opendatahub/odh-notebook-controller:pr-336
image for the ODH notebook controller deployment. It functions correctly both with and without the internal registry.
/lgtm
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2867 +/- ##
==========================================
- Coverage 77.46% 77.44% -0.02%
==========================================
Files 1110 1110
Lines 23515 23521 +6
Branches 5932 5937 +5
==========================================
Hits 18215 18215
- Misses 5300 5306 +6
... and 3 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
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.
…ion shared the same sha
955cf7e
to
7ffb101
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andrewballantyne 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 |
Tested with Lucas, validated the bug works with his PR against it being broken on cluster in both no-registry and registry based clusters. The reason code-server shows up is because it had logic looking at tags (2024.1 is common in the OOTB images). Everything looks good -- LGTM. |
/retest |
/override ci/prow/images Having mirror image issues -- skipping |
@andrewballantyne: Overrode contexts on behalf of andrewballantyne: ci/prow/images In response to this:
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-sigs/prow repository. |
Closes https://issues.redhat.com/browse/RHOAIENG-7917
Description
Fix issue that fetch the wrong Notebook Image if two Imagestream Version shared the same sha
How Has This Been Tested?
### In a cluster without Internal Registry
In a cluster with Internal Registry
Test Impact
Expanded the testing coverage of the function to account for that edge case
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main