When downloading the index.yaml from a virtual repository pointing to http://some/artifactory/helm-virtual, the entries will start with http://some/artifactory/api/helm/helm/virtual/... and will not get replaced in a smart remote repository unless the api/helm/virtual is added as the charts base url.
reproduction:
2 instances. art_1 and art_2.
create the following repositories:
- in art_1: local, virtual
- in art_2: remote to art_1_virtual, virtual
deploy a chart to art_1_local.
download the index.yaml of art_2_virtual.
expected:
art_2virtual/index.yaml - URLs will have links starting with art_2_virtual/api/helm/virtual
actual:
art_2_virtual/index.yaml - URLs are links starting with art_1_virtual/api/helm/virtual
Workaround
set the charts base URL with the api/helm/repoKey
- is related to
-
RTFACT-19094 Not rewriting index.yaml urls for remote Helm Repos other than helm-stable ones
- Done
-
RTFACT-24678 Support external dependencies in HELM
- Done