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
Bug 1576881 - Add discovery to openshift adapter #77
Bug 1576881 - Add discovery to openshift adapter #77
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.
ACK
I have some concerns with the naming of this adapter, I think it's misleading. The support we added in this PR was for the partner side of the RHCC registry. If we are considering the specific image registry implemented provided by "OpenShift Registry" it does not support catalog v2 API. There is an unrelated effort to implement an ability to list images in the actual OpenShift Registry being tracked in this card and planned for OCP 3.11: https://trello.com/c/AZINw5qI I think we should consider a name change of this adapter to be clearer in it's intent, perhaps something like "partner_rhcc". |
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.
Please re-evaluate the name of this adapter, I think calling it "openshift_adapter" is misleading.
@jwmatthews +1 to using |
Waiting on review of these changes before I make them to #74 |
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.
Name change looks good to me.
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.
VISACK
ocpa := OpenShiftAdapter{} | ||
ocpa.Config.Images = Images | ||
imagesFound, err := ocpa.GetImageNames() | ||
func TestPartnerGetImageNames(t *testing.T) { |
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.
👍
No description provided.