For case 2:

ARTIFACTORY: How to fix Helm remote repository not caching Helm charts

AuthorFullName__c
Shisiya Sebastian
articleNumber
000005697
ft:sourceType
Salesforce
FirstPublishedDate
2023-04-27T15:31:22Z
lastModifiedDate
2023-04-27
VersionNumber
3

While configuring a Helm remote repository, it is important to note the below: 

  • The repository URL should point to the root path where the index.yaml is found. 
  • The  "Chart Base URL" should point to the path where the charts are stored. 

Artifactory by default rewrites the upstream “URL” specified while generating the metadata for virtual repository. However, when the Charts are stored in a different path, and no Chart Base URL is specified, metadata won’t rewrite the download path with the Artifactory URL. Thus, Charts are fetched directly from the upstream, not via Artifactory, and hence Charts won’t get cached.