Open arnouthoebreckx opened 1 year ago
Thanks @arnouthoebreckx for opening this issue. We do not currently have official support for oci://
urls through this capability. We'll keep this open to gauge demand and interest from the community.
Hi @nblair,
Is there any way around this? I read in the docs / release notes that there's OCI support, so I assume there's a workaround?
I went and tracked down the Jira issues linked in the release notes you referenced. The title of that Jira ticket is rather vague, but at the time in 2020 "OCI support" meant something different than it likely means today, 3 years later. What was implemented at that time was support for additional media types included in OCI containers. I don't have a workaround for you for oci://
urls at present.
Helm Charts from Bitnami have switched to OCI urls. We would appreciate it if Nexus would support this format in a future release.
We have been asking Sonatype to implement this since April 2023. Still no sign of this feature.
Howdy everyone!🙋♂️
IMHO: To succinctly convey my viewpoint, it appears that the development team may need a deeper understanding of practical requirements. I recognize the complexity of Nexus beyond a mere Container/OCI registry; however, the imperative need for enhanced OCI Helm Chart support is evident. The prompt integration of the oci:// protocol is essential, considering its advanced security features and alignment with contemporary infrastructure needs.
The current strategy of postponing action until there is wider community interest is somewhat discouraging. The oci:// protocol is notably more robust and secure compared to traditional Helm repositories. Embracing oci:// will markedly diminish the risk of security infringements and provide a more dependable distribution framework for our applications.
Traditionally, Helm repositories, particularly private ones, have the drawback of storing login credentials in an unencrypted format, posing a severe security risk. Prioritizing data confidentiality and integrity is crucial. Transitioning to oci:// will enable us to abandon these obsolete methods in favor of encrypted storage and transmission, thereby adhering to the highest standards of security and compliance in the industry.
More and more Helm Charts are switching to oci urls. Is there already a plan when Nexus will support oci helm charts?
We really really need this feature to be supported. More and more Helm repos are switching to OCI.
Any update? Important feature, more and more important.
We figured out, that you can use the Nexus docker-proxy functionality as a proxy for the oci helm charts.
So for the bitnami helm charts where the oci charts are stored in dockerhub (oci://registry-1.docker.io/bitnamicharts/
Setup a Nexus docker-proxy to point to dockerhub URL: https://registry-1.docker.io Docker Index: "Use Docker Hub" Use a separate HTTPS Port
HELM-Login:
helm registry login <nexus-host>:<docker-proxy-port> --username <user> --password <password>
HELM pull, install, etc
helm pull oci://<nexus-host>:<docker-proxy-port>/bitnamicharts/postgresql
Based on Sonatype's current approach to this critical issue, it appears there is little interest in implementing OCI Helm charts. This is unfortunate because, with the growing popularity of Helm OCI and the increasing emphasis on security, combined with Sonatype's lack of active discussion on the matter, it is time to consider migrating to another solution. It is surprising that, although Helm OCI is commonly used with other Docker/OCI registries out of the box, Sonatype still has not adapted and continues to implement a solution that is not fully compatible with the OCI standard. This is indeed regrettable. Nobody wants to stay and wait—security and adherence to standards are crucial.
any updates on this ? @nblair
Wow, still no oci helm in nexus? Seriously? 👎
Hi @nblair
I'm willing to have a crack at it in the near future to atleast see if we can bring some sort of easy support for the helm-charts from different registries.
However looking at the pull-requests & the activity on them in this repository I'm left wondering if this would actually get merged into Nexus pro as well?
Nexus version: 3.38.1 Problem: using oci:// based URLs is not allowed by the UI, even though according to Nexus news OCI should be configurable. References:
We're trying to use "oci://quay.io" based urls to pull helm-charts and docker images from proxy repositories. However the UI interface indicates that http(s) urls should be used as can be seen in the screenshot.
Does anyone have any experience with this and/or an example that they can show me?
When using https:// instead of oci:// the repository remains empty and proxying does not work.
Sadly have not found a workaround for this.