This topic provides details on configuring Helm to work with Artifactory. To get up and running quickly to use Helm, see Get Started with Helm.
Pre-requisite: Before connecting your Helm client to Artifactory, you must have an existing Helm repository in Artifactory. For more information, see Create a Helm Repository
Supported Helm Clients
Helm version 2.9.0 or above
Logged in vs. Anonymous User: You can work with Artifactory as either a logged in user or as an anonymous user. To work with Artifactory using Anonymous Access. You need to configure that access under Admin | Security | General. For details, refer to Allow Anonymous Access.
To configure your local machine to install the Helm charts, follow these steps:
Set your default Artifactory Helm repository with the following command:
helm repo add <HELM_REPO_KEY> https://[JFrogPlatformURL]/artifactory/api/helm/<HELM_REPO_KEY> --username <USERNAME> --password <PASSWORD>
helm repo updateWhere:
[JFrogPlatformURL]: Your JPD URL<YOUR_JFROG_USERNAME>: Your JPD username<USERNAME>: Your JPD Username<PASSWORD>: Your JPD Password<HELM_REPO_KEY>: Name of the repository.
For example:
helm repo add helm-local https://company.jfrog.io/artifactory/api/helm/helm-local --username admin --password passwordUse an encrypted password
We recommend using an encrypted password instead of a clear-text. For details, please refer to Centrally Secure Passwords.
Note
You can also use JFrog Set me up to copy the snippet populated with your token and environment. For more information, see Use Artifactory Set Me Up for Configuring Package Manager Clients.
Note
To ensure Artifactory properly caches Helm charts, resolve the charts only through a virtual repository.
Next Steps: