Skip to content
Snippets Groups Projects
Commit 26d08e05 authored by RKGarcia's avatar RKGarcia
Browse files

Include helm chart removal in detritus cleanup

parent 16d5ea67
No related branches found
No related tags found
No related merge requests found
#!/bin/bash -e
for potato in $(helm list -n geosphere-test |perl -ne '/^(test-\S+)/ && print "$1\n";'); do
helm uninstall -n geosphere-test $potato
done
for api in deployment.apps statefulset.apps job.batch cronjob.batch service pod; do
for item in $(kubectl -n geosphere-test get all |egrep ^${api}/test |cut -d ' ' -f1); do
kubectl -n geosphere-test delete $item
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment