goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.
https://goharbor.io
Apache License 2.0
23.62k stars 4.72k forks source link

Add support for Proxying HELM Charts (just like Docker repos). #17355

Open Eric-Fontana-Indico opened 2 years ago

Eric-Fontana-Indico commented 2 years ago

Harbor can proxy Docker images (which is Awesome!). Can you add support for proxying Helm Charts as well?

Describe the solution you'd like It would be nice to have Harbor pull charts through Harbor so a copy of the remote chart will live forever in Harbor.

zyyw commented 2 years ago

By "Can you add support for proxying Helm Charts as well?", does Helm Charts mean chart-museum charts or oci-compatible chart? We are going to deprecate ChartMuseum, but oci-compatible helm chart can be proxied use proxy cache.

beniamin commented 2 years ago

@zyyw can you describe a little bit how oci helm charts are proxied trough Harbor? I am also interested in this feature, but I couldn't find anything in documentation.

Let's say my chart depends on a publicly available helm chart from http://some-random-helm-registry.com, how can I proxy this repo trough Harbor in order for the helm chart to be cached? How Chart.yaml of my chart looks like for this dependency and what configs should be made on Harbor?

haiwu commented 1 year ago

@zyyw / @xaleeks : I am confusing on the same question as well. Is there any documentation on how this helm chart proxy via harbor could be done from end-user side?

stonezdj commented 1 year ago

@beniamin current Harbor support to proxy the oci helm, for example, if you push an oci helm to dockerhub, and setup a Harbor instance to proxy it, it works.
Note: the proxy project name cannot contain underscore character (_).

Screen Shot 2023-01-19 at 15 22 43
haiwu commented 1 year ago

@stonezdj: Please correct me if I am wrong. Most of helm charts right now are not stored as oci helm, for example: Elastic Helm charts repo: https://helm.elastic.co.

How to support majority helm charts not stored as oci helm out there? Could harbor support similar thing as Artifactory here: https://jfrog.com/knowledge-base/artifactory-how-to-pull-helm-charts-from-artifacthub-io-through-artifactory/?

geowalrus4gh commented 10 months ago

Most of the application are not yet moved to oci based helm charts. so its really needed a proxy capability to download external non-oci charts.

EsDmitrii commented 6 months ago

same here it would be nice to have some features like nexus have:

Screenshot 2024-02-19 at 21 20 52
ryan-dyer-sp commented 6 months ago

agreed. would be really nice to have.