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.