Step 1: Setting up the smart remote repository

ARTIFACTORY: How to Create a Legacy Helm Smart Remote Repository

AuthorFullName__c
Alex Gonglach
articleNumber
000006133
ft:sourceType
Salesforce
FirstPublishedDate
2024-07-02T07:18:58Z
lastModifiedDate
2024-07-02
VersionNumber
3
On an upstream Artifactory, I have a local repository called “helm-local-upstream”, and it contains a single chart. I’d like to set up a smart remote repository that connects with this local repository.

User-added image


Let’s start with creating a remote repository that will point to this upstream local repository. I’ve created a default legacy Helm remote repository, except the URL is in the format of <artifactory_url>/artifactory/<target-repository-name>. I’ve also entered my credentials for the upstream Artifactory instance:

User-added image


You can test the connection with the upstream repository by clicking the “Test” button in the UI:

User-added image

If the connection is successful, you should see this message appear:
User-added image

If the connection is unsuccessful, please ensure the credentials are valid and the URL format is correct.

After verifying the connection, let’s head over to the “Advanced” tab. Here, we will need to select “Enable Dependency Rewrite”. You can read more about this feature here.

User-added image

After this has been selected, save the repository settings.