ARTIFACTORY: How to pull Helm charts from artifacthub.io through Artifactory?

ARTIFACTORY: How to pull Helm charts from artifacthub.io through Artifactory?

AuthorFullName__c
Elina Floim
articleNumber
000005165
FirstPublishedDate
2021-11-16T17:42:29Z
lastModifiedDate
2025-05-15
VersionNumber
6
artifacthub.io references charts that are hosted in other repositories, and therefore, cannot be used directly when retrieving helm charts.

To install a chart from artifacthub.io via Artifactory:
  1. Navigate to the chart's page on artifacthub.io. For this demonstration we'll use the kubernetes-dashboard chart.
  2. Look for the "helm repo add" command to see the URL for the repository that stores this chart. For the kubernetes-dashboard chart, the repository URL is "https://kubernetes.github.io/dashboard/".
  3. In case you don't have a Remote Helm Repository in Artifactory pointing to the URL from step #2, create one.
  4. Make sure the remote repository from step #3 is included in a Helm Virtual Repository. If not, make sure to have it included in one which we will later use to pull from.
  5. Set your default Artifactory Helm repository using the following command:

    $ helm repo add <VIRTUAL_REPO> <JFROG_URL>/artifactory/api/helm/<VIRTUAL_REPO> --username <USERNAME> --password <PASSWORD>
  6. Run:
$ helm repo update
  1. To install the chart:
$ helm install <CHART_NAME> <VIRTUAL_REPO>/<CHART_NAME>

Example:
$ helm install kubernetes-dashboard helm-virtual/kubernetes-dashboard

After installation, the chart can be seen in the remote-cache repository of the remote repository the chart was retrieved from:

User-added image