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

helm repositories fail to update index.yaml when one of the cached chart in remote-cache is deleted

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Affects Version/s: 6.7.0
    • Fix Version/s: 6.8.0
    • Component/s: None
    • Labels:
      None

      Description

      1) Setup helm repository (http://mill.jfrog.info:12070/artifactory)
      2) Try to fetch multiple chart 
      3) Delete one of the charts from the remote-cache
      4) Do a zap cache

      See the index.yaml expires, See the index.yaml expires, Even though there are multiple cache artifacts available 

      {
      "errors" : [

      { "status" : 404, "message" : "Resource has expired" }

      ]
      }

      This also causes failures when trying to fetch the same chart again. When the same steps are performed with helm client on local resolving the Artifactory instance in remote we see the below Error when doing the helm fetch for the second time after deleting the cached chart
      Error: chart "xray" matching 0.4.2 not found in helm index. (try 'helm repo update'). No chart version found for xray-0.4.2

       

      Need to manually delete the index.yaml

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                balajis Balaji Satish
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: