Details
-
Type:
Bug
-
Status: New
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 3.37.3
-
Fix Version/s: None
-
Component/s: helm
-
Labels:
-
Notability:3
Description
When uploading a helm chart to a hosted repository via HTTP PUT, the given chart entry in the index.yaml does not generate/contain the "digest" key which is expected as shown in https://helm.sh/docs/topics/chart_repository/#the-index-file
To reproduce, upload a helm chart to a hosted helm repository via a PUT e.g.
curl -u <username>:<password> http://<host>:<port>/repository/<repository_name>/ --upload-file mysql-1.4.0.tgz -v
Then view the repository's updated index.yaml.
Expected
Other upload methods such as via the UI or REST API do not result in this issue, so it is expected that a PUT upload should also behave in the same way and ensure the digest is generated and included in the index.yaml