[RTFACT-19515] Remote Helm repository does not work when hosted on google cloud storage Created: 01/Jul/19 Updated: 09/Jul/19 Resolved: 09/Jul/19
|Project:||Artifactory Binary Repository|
|Component/s:||Helm, Remote Repository|
|Resolution:||Not a Bug||Votes:||0|
|Labels:||artifactory, helm, remote|
Artifactory Pro 6.10.4
Reproduction is quite simple as the official stable helm repository is hosted on google cloud storage:
The cause of this is that google limits the results for the bucket list query to a maximum of 1000 items (https://cloud.google.com/storage/docs/xml-api/get-bucket-list).
When visiting the repo url in the browser the following can be seen:
The IsTruncated property is set and the NextMarker point to the last element. This is the pagination as defined in the above mentioned google API docs.
Artifactory needs to support this for remote helm charts to work that are hosted on google cloud storage. It is especially critical as the default "stable" repo is hosted this way.
|Comment by Stefan Lengauer [ 08/Jul/19 ]|
This can be closed!
In our case the issue was caused by a missing "deploy/cache" permission for the user.
This prevents the download of the remote repos index.yaml. In this case the virtual repo is generating an empty index and therefore the resolution fails.
After adding the missing permission helm started to work as expected but the tree view remains limited.