How to delete all resources from Helm list by one command? How to delete all resources from Helm list by one command? kubernetes kubernetes

How to delete all resources from Helm list by one command?


I don't think there is a built-in way of doing it, but you can use some good old bash

helm list --short | xargs -L1 helm delete

Remember to add the --purge flag if you want to delete everything related to the release.


In short and only with helm commands you can use:

helm delete $(helm list --short)