ARTIFACTORY: Helm search repo returns "No results found"

ARTIFACTORY: Helm search repo returns "No results found"

AuthorFullName__c
Elina Floim
articleNumber
000005455
ft:sourceType
Salesforce
FirstPublishedDate
2022-11-09T17:09:14Z
lastModifiedDate
2023-01-22T11:07:10Z
VersionNumber
2

In certain circumstances, users may observe that the helm search command does not return any results, or that the results that are returned are partial and do not include some of the charts stored in the repository.

By default, helm 3 does not look for non-production/development versions. The Helm client decides whether the chart is a pre-release version or a production chart version based on the value of the version defined for that chart. As a result, the helm search command may not return any chart results unless the following flags are added to the search command:

  1. ‐‐devel - this flag will include the pre-released/development charts versions (alpha, beta, and release candidate releases).
  2. -l - ​​this flag will include the long listing, with each version of each chart on its own line.
User-added image

In the example above, the first helm search command did not return the full list of results, but only two stable chart versions. In the second command, with the ‐‐devel and -l flags appended, the full chart version list was returned, including the dev and snapshot versions that are stored in the repository.
More information on the helm search repo command can be found on Helm’s official documentation page.