Chartmuseum component deprecation proposal - effective 2.6.0 or 2.7.0 (see below for full proposed timeline) - feedback welcome #15057
Replies: 35 comments 48 replies
-
As long as there is documentation on how to migrate over, commands/paths that changed, etc I don't personally see an issue with it. |
Beta Was this translation helpful? Give feedback.
-
While I agree that Chartmuseum has quite a few merits and isn't very stable, I also see that Helms OCI Support is also not stable yet. ( concept wise) See for example: https://github.com/helm/community/blob/main/hips/hip-0006.md. It is likely that there are going to be changes on Helm side regarding OCI support, But I don't think this will affect Harbor and the storage of OCI wrapped Helm charts as such. My suggestion would be to deprecate Chartmuseum but allow users to opt in to still use Chartmuseum together with Harbor. In the meantime we can build better Chart support in Harbor. |
Beta Was this translation helpful? Give feedback.
-
It would be really nice to have this change non-breaking for feed subscribers, although I don't think that's possible, as helm repo URLs have to change for OCI, right? That means all users are forced to update their helm repos. With that in mind - from a user perspective - supporting both for a transition period would be nice. |
Beta Was this translation helpful? Give feedback.
-
Some discussions happened in another thread before this discussion launched. Refer to the issue here: #14407 |
Beta Was this translation helpful? Give feedback.
-
tl;dr Until OCI support becomes stable and a first-class citizen in the Helm ecosystem, I don't think deprecating Chartmuseum is a good idea. So what is the primary reason for deprecating Chartmuseum? I've seen performance issues being called out, but it feels like a decision to be made by users whether they want to pay that cost or not. (BTW, can someone share some references describing these performance issues?) Are there any other reasons? Maintenance cost could be one, but I would say that this feature is still useful to the community. Anything else? Deprecation could be a valid decision, but performance issues and the fact that OCI is the future don't provide enough basis IMHO. Adding the fact that OCI support is not even stable yet and there are bugs reported every other week, it makes an even weaker argument. I think reaching out to the Helm/Chartmuseum maintainers would make sense at this point to gain some insights about their future plans. |
Beta Was this translation helpful? Give feedback.
-
Would like to provide a similar feedback as @sagikazarmark, OCI support in Helm itself is still considered Experimental/Alpha, the API is in flux and there are issues constnatly being addressed (which is OK, because it's still on an early path) but more importantly it's also not broadly adopted and supported by various ecosystem tooling, in our case -- fluxcd.io, which is a popular GitOps CD tool (also a CNCF project), they do NOT intend to implement OCI support until it's out of the experimental phase:
This is a response I saw today from one of the project (FluxCD) maintainers in their slack. I think the move to OCI is inevitable and I like that Harbor supports it already which allows projects to test it and certify their tooling around it, but it's quite clear that OCI is not ready for mainstream adoption and relying only on the fact that AFAIK, Chartmuseum is an active project and is actively maintained, I also don't see any statement about them closing shop or deprecating it any time soon. |
Beta Was this translation helpful? Give feedback.
-
I tend to agree with what has been said by multiple people before : though I understand and agree with the objective in the long terme, the actual deprecation of chartmuseum should only happen a few month after the Helm ecosystem will have fully adapted the OCI standard which is not yet the case yet. |
Beta Was this translation helpful? Give feedback.
-
There are a couple of things that surprises me with this. I'm surprised that the deprecation of standard Helm repos are deprecated in a minor release. I think this is a breaking change, since the outwards behavior will be completely different. So this should be indicated with an increment of major version number, i.e. Harbor 3.0. And as already mentioned in this discussion, OCI support in Helm is not considered a stable feature yet, so Helm may change their implementation of it that will cause further breaking changes down the line for Harbor. Considering this, I'm surprised that the Harbor maintainers are pitching the deprecation of Chartmuseum as a reduced maintenance cost, since nobody knows what changes Helm will do to its OCI support. It's not even settled for sure that they will use OCI in the future, even if it sure looks like it right now. I feel this decision from Harbor is premature. As far as I can tell, there haven't been any coordination with the Helm maintainers on this. That also surprises me, since it should be very valuable to Harbor and its users to make sure we are in step with Helm on this particular issue. |
Beta Was this translation helpful? Give feedback.
-
Harbor 2.4 release notes says "Limit support on Chartmuseum from v2.4.0 release.". What does that exactly mean? |
Beta Was this translation helpful? Give feedback.
-
I would also like to vote against the deprecation of chartmuseum on 2.4.x. We are using harbor 2.4.0 (and we want to upgrade to 2.4.1 and later when possible) and use FluxCD and it does not (yet?) support pulling charts from an OCI URL. |
Beta Was this translation helpful? Give feedback.
-
Helm v3.8 changelog states that OCI registry support has graduated out of being an experiment! https://github.com/helm/helm/releases/tag/v3.8.0 🔥 ImportantWe are very well aware that many Harbor users depend on Chartmuseum because of various CI/CD tools and deployment workflows and can not switch just like that. To help a smooth transition, please:
|
Beta Was this translation helpful? Give feedback.
-
There is an issue reported in the helm which stated it will not be possible to create a reproducible OCI chart image without a nasty hack. As a result, when we push the same OCI chart many times, Harbor duplicates it and potentially the disk space. |
Beta Was this translation helpful? Give feedback.
-
To whom it may concern-
|
Beta Was this translation helpful? Give feedback.
-
Will the harbor UI still differentiate between helm charts and images? I disabled chartmuseum and I see the helm charts tab has disappeared. I think that might be a useful feature, especially when a project might have tons of images deployed with just one helm chart (so it doesn't get buried). |
Beta Was this translation helpful? Give feedback.
-
Hi All, Can you provide some news about this:
BR, Damien |
Beta Was this translation helpful? Give feedback.
-
Closing the vote early - we have more than 50%+1 votes for 2.6. Vote for deprecation starts immediately and ends at Sunday August 14 1700 UTC or when six votes for +1 (deprecate) or -1 (don't deprecate) by maintainers have been attained. |
Beta Was this translation helpful? Give feedback.
-
+1 for 2.6 to deprecate Chartmuseum. |
Beta Was this translation helpful? Give feedback.
-
+1 for 2.6 to deprecate Chartmuseum. |
Beta Was this translation helpful? Give feedback.
-
+1 for 2.6 to deprecate Chartmuseum. |
Beta Was this translation helpful? Give feedback.
-
+1 for 2.6 to deprecate Chartmuseum. |
Beta Was this translation helpful? Give feedback.
-
+1 for 2.6 to deprecate Chartmuseum |
Beta Was this translation helpful? Give feedback.
-
+1 for 2.6 to deprecate Chartmuseum |
Beta Was this translation helpful? Give feedback.
-
A majority of Harbor maintainers have voted to deprecate the Chartmuseum feature in the 2.6.0 release, so it is hereby deprecated with the release of Harbor v2.6.0. This means that no fixes or enhancements will be delivered for v2.60. forward for the feature except for fixes to catastrophic failures - bugs which cause Harbor not to work at all -n and to critical security issues - vulnerabilities with CVSS scores of 9.0 or greater. The development team can begin to remove the feature in v2.8.0 (or its equivalent if the major version number changes) or later at their convenience. Users are encouraged to migrate their use of Helm chart storage and retrieval to the supported OCI method as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
How that plan impacts the chart replication feature, e.g., from ArtifactHub to Harbor? If I'm not mistaken, this replication path requires ChartMuseum. Will the ArtifactHub support be improved to allow this replication to work with OCI, assuming ArtifactHub supports the distribution of Helm charts as OCI artifacts (does it?)? IMO asking users to set up external periodic jobs to convert Helm charts that came from ArtifactHub to OCI is not a very good experience, and might even introduce other operational issues. Is there anything that can be done to improve upon this? |
Beta Was this translation helpful? Give feedback.
-
mind that OCI misses out on some (supposedly) popular features of "traditional" helm chart servers.
|
Beta Was this translation helpful? Give feedback.
-
I have been following this heated discussion for a while, what would be your opinion regarding the compromise of supporting the replication from ChartMuseum? Take a look at the proposal #18098 |
Beta Was this translation helpful? Give feedback.
-
Why would you remove support for chartmuseum when OCI is not a full replacement and does not even implement simple features like indexing and search is beyond me. Why not just leave it but disabled by default? So at least in my POV to protect me from a few ms of perf issues, you created a few minutes of jumping around to check the status of the releases, check the versions and update. |
Beta Was this translation helpful? Give feedback.
-
It seems to have been completely removed now. $ grep _version harbor.yml
_version: 2.8.0
$ ./install.sh --help
Note: Please set hostname and other necessary attributes in harbor.yml first. DO NOT use localhost or 127.0.0.1 for hostname, because Harbor needs to be accessed by external clients.
Please set --with-notary if needs enable Notary in Harbor, and set ui_url_protocol/ssl_cert/ssl_cert_key in harbor.yml bacause notary must run under https.
Please set --with-trivy if needs enable Trivy in Harbor.
Please do NOT set --with-chartmuseum, as chartmusuem has been deprecated and removed. According to the actual test, the |
Beta Was this translation helpful? Give feedback.
-
As Harbor has been an OCI compatible registry and charts can be managed with OCI compatible way. Additionally, the current
Chartmuseum
component brings many perf issues. So, Harbor is planning to deprecate it in the coming V2.4 release. The community and maintainers want to hear more feedback about this decision.Beta Was this translation helpful? Give feedback.
All reactions