Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-26608

ChartMuseum doesn't work as a remote helm repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Deferred
    • Affects Version/s: 7.26.3
    • Fix Version/s: None
    • Component/s: Helm
    • Labels:
      None
    • Location:
      External

      Description

      • Problem description: Setting up a ChartMuseum as a remote Helm repository will not work and fetching helm chart will fail. Although configuring the same repository straight against the Helm client will work.
      • What is the impact to the customer: This is currently blocking the usage of ChartMuseum with Artifactory as a remote repository to this helm registry.

      It seems that Head requests are failing for these requests, even if we set “bypass head request” it will fail with 404:

      $ curl -I  https://helm.prod.neotys.com/stable/index.yaml
      
      HTTP/1.1 404 Not Found
      Date: Tue, 14 Dec 2021 17:10:23 GMT
      Server: Apache/2.4.37 (centos) OpenSSL/1.1.1c
      Content-Type: application/json; charset=utf-8
      X-Request-Id: 8507ffa8-b1a9-46dd-bd4f-e023cd445cce
      Content-Length: 21
      Connection: close
      

      Without Head request:

      $ curl https://helm.prod.neotys.com/stable/index.yaml
      
      apiVersion: v1
      entries:
        nlweb:
        - apiVersion: v2
          appVersion: 3.0.0
          created: "2021-12-14T16:18:34.942441217Z"
      

      According to the artifactory-request-out.log:

      2021-12-14T14:42:30.363Z|a9a7ba0a4d097735|main-chartcenter||HEAD|https://helm.prod.neotys.com/stable/index.yaml%7C404%7C0%7C21%7C456
      2021-12-14T16:50:40.432Z|531227d0b16042aa|main-chartcenter||HEAD|https://helm.prod.neotys.com/stable/index.yaml%7C404%7C0%7C21%7C473
      
      • What is the expected behavior? When configuring the Helm remote repository to point to https://helm.prod.neotys.com/stable/, it should be able to fetch the index.yaml and resolve all the charts from the repository.
      • Steps to reproduce: 
        1. Configure helm repositories - local, remote that points to the URL https://helm.prod.neotys.com/stable/ and virtual that aggregates both repositories
        2. Use the Set Me Up feature on the Virtual repository to configure the client
        3. Run 
        helm repo update
        helm install neotys/nlweb-dynamic-infrastructure --generate-name -n helm-sandbox
        
      • Environment details: 
        • Artifactory version: 7.26.3
        • Is this On-Prem or SaaS? SaaS

        Attachments

          Activity

              People

              Assignee:
              Unassigned
              Reporter:
              davidp David Pinhas
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Sync Status

                  Connection: RTFACT Sync
                  RTMID-26618 -
                  SYNCHRONIZED
                  • Last Sync Date: