5 Delete an umbrella Helm Chart, and its subcharts, that was previously deployed using 'Helm deploy'.
7 Example of deleting all Releases that have the prefix 'demo'.
10 $ helm undeploy demo --purge
13 helm undeploy [RELEASE] [flags]
16 --purge remove the releases from the store and make its name free for later use
24 array=($(helm ls -q --all | grep $RELEASE))
26 for i in $(seq $(($n-1)) -1 0)
28 helm del "${array[i]}" $FLAGS
33 echo "Error: command 'undeploy' requires a release name"
37 case "${1:-"help"}" in
48 undeploy $1 $(echo ${@} | sed 's/^ *[^ ]* *//')