-
Type:
Bug
-
Status: Done
-
Resolution: Not a Bug
-
Affects Version/s: 6.10.0
-
Fix Version/s: None
-
Component/s: Helm, Remote Repository
-
Labels:
-
Environment:
Artifactory Pro 6.10.4
CentOS 7.6
-
Severity:High
Reproduction is quite simple as the official stable helm repository is hosted on google cloud storage:
- Create a new remote helm repository with the default url (https://storage.googleapis.com/kubernetes-charts)
- Create a virtual helm repo and include the repo from above
- Look at the artifacts tree and observe that only the first few chart *.tgz are displayed (currently up until drupal)
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:
<ListBucketResult xmlns="http://doc.s3.amazonaws.com/2006-03-01"> <Name>kubernetes-charts</Name> <Prefix/> <Marker/> <NextMarker>drupal-0.4.3.tgz</NextMarker> <IsTruncated>true</IsTruncated> <Contents>
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.