1
0
-1

I try to use the same dev env in WindRiver.   As I switch from one Release to another, the repo in my dev environment may get a mix of chart archive versions. (example below) I can't find a command to remove an chart archive from my local repo, so would appreciate guidance on that specifically.  Or, would be interested in opinions that my approach of re-using my dev env is wrong!

Here is a snippet of the output that shows the problem:

$ helm search -l onap
NAME CHART VERSION APP VERSION DESCRIPTION
local/onap 6.0.0 Frankfurt Open Network Automation Platform (ONAP)
local/onap 5.0.0 El Alto Open Network Automation Platform (ONAP)
local/aaf 6.0.0 ONAP Application Authorization Framework
local/aaf 5.0.0 ONAP Application Authorization Framework


...


I'd like a command to get rid of the 5.0.0 charts for example.



    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      I found this SO answer: https://stackoverflow.com/questions/53926841/is-there-any-way-to-clean-delete-some-older-packages-in-helm-repo

      The preference would seem to be surgical use of the curl -XDELETE option, but I kept getting 404 errors and couldn't determine the correct URL path.  So I wound up using the nuclear option that was suggested first.  i.e. the "github" approach described by VKR.    THat worked!

      1. Dominic Lunanuova

        NOTE: As the releases of Helm have evolved, the directory structure under ~/.helm has changed too.  So delete wherever you find the .tgz files to get complete coverage.

      CommentAdd your comment...