Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-31326

Uploading Helm Chart via HTTP PUT does not generate "digest" key in index.yaml

    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

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            hardeepn Hardeep Nagra
            Last Updated By:
            Grace Lee Grace Lee
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                tigCommentSecurity.panel-title