-
Notifications
You must be signed in to change notification settings - Fork 20
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
Option to report just images from old repository aka --plain
command line option
#48
Option to report just images from old repository aka --plain
command line option
#48
Conversation
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
If there were images with the same SHA from different registries we were not reporting things properly For example AFTER this fix, we can see the following, before the fix the image from the old registry was not displayed to the user ``` ✅ registry.k8s.io/library/busybox:latest (Location: default > hello-world2 > hello-world2) ❌ k8s.gcr.io/library/busybox:latest (Location: default > hello-world3 > hello-world3) ``` Signed-off-by: Davanum Srinivas <davanum@gmail.com>
--plain
command line option
/assign @nikhita @MadhavJivrajani @palnabarun |
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.
/lgtm
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dims, MadhavJivrajani, nikhita 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 |
Thanks dims! WDYT about a command or option to report images from registry.k8s.io? |
@BenTheElder what do want folks to use that for? (ideas on what we would call it?) |
I'm not sure what to call it but if I had an easy way to list what kubernetes provided images are in a cluster it would make it easy to start mirroring them, and I'd add this to our mirroring guide under "identifying images to mirror" as the default solution |
That's a bit distinct from "you should stop using these old image hosts" but I imagine it's largely the same code |
Could imagine a shell one liner even to pipe these to [g]crane and mirror to your own host |
Feature added for #47
--plain
command line argument to just print images with no fancy decorations so that the output is parsable (one image:tag per line)