-
Notifications
You must be signed in to change notification settings - Fork 707
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
Investigate how to retrieve metadata from an OCI registry #6548
Comments
Testing the bitnami charts catalog on Dockerhub and querying the referrers API for a digest results in a 404 from docker.io, which means that the referrers API is not supported. Sure enough, in October 2022, when announcing the artifacts support, Docker said:
So, although it's not yet supported, it will be at some time. Testing demo.harbor.io, on the other hand, shows that the referrers API is supported (an empty Interestingly, the OCI Distribution Spec actually includes backwards compatibility specifications for how clients must behave when attempting to use the referrers API with a registry that does not support it, which includes ensuring the same information (the list of artifacts referring to a subject) can be returned by the client even when the referrers API is not supported. So if Bitnami did choose to add metadata via the referrers API, it would not depend on dockerhub support being available. |
I've created the list of conditions for completion of the implementation at #7038 , and so will close this investigation. |
### Description of the change Adds the messages and generated API helpers for requesting and responding to metadata requests. I've used this in a test demo and am now working through the code to get it landable. ### Benefits We can begin adding the OCI metadata to the Kubeapps API. ### Applicable issues - ref #6548 --------- Signed-off-by: Michael Nelson <minelson@vmware.com>
### Description of the change Follows on from #6941 , adding the implementation for the core API service. Next PR will add the implementation for the helm plugin using the OCI distribution spec API so that we can investigate UX options for displaying the data. ### Benefits <!-- What benefits will be realized by the code change? --> ### Possible drawbacks <!-- Describe any known limitations with your change --> ### Applicable issues <!-- Enter any applicable Issues here (You can reference an issue using #) --> - ref #6548 ### Additional information <!-- If there's anything else that's important and relevant to your pull request, mention that information here.--> Signed-off-by: Michael Nelson <minelson@vmware.com>
Summary
Investigate how to retrieve all metadata stored as OCI artifacts in an OCI registry to be listed to users at deployment time, so they can evaluate not only the chart metadata, but any other information stored as OCI artifacts in the registry.
Background and rationale
In addition to the work started for Catalog browsing in OCI repository, once Kubeapps is able to specify an OCI registry and list charts from that registry (without having to explicitly list which apps/repositories users are interested in), next step to improve the user experience is to allow users to retrieve all metadata stored in the OCI registry related to each apps/repositories.
Description
Initial investigation and design (technical and UI) to provide this feature in Kubeapps.
Acceptance criteria
A formalized list of conditions that ensures that the feature can be considered finished.
Additional context
Related to Catalog browsing in OCI repository initiative
The text was updated successfully, but these errors were encountered: