- Create a Helm remote repository ‘helmremote’ with the URL https://charts.jfrog.io and keep the “Chart Base URL” field blank.
- Create a new Helm virtual repository ‘helmvirtual’ and add the remote repository ‘helmremote’ to the virtual repository.
- Download the index.yaml from UI → Application → Artifactory → Artifacts → helmvirtual and verify that index.yaml has all the URL fields rewritten by Artifactory URL.
- Configure the ‘helmvirtual’ to the Helm client and run the helm commands to fetch the charts.
To add the repo:
helm repo add helmvirtual http://ARTIFACTORY_HOST/artifactory/api/helm/helmvirtual --username username --password <encoded_password>
To find the available charts:
helm search repo helmvirtual
To download the charts:
helm fetch helmvirtual/artifactory helm fetch helmvirtual/postgresql helm fetch helmvirtual/jfrog-platform