Adding kube-down logic to utils.sh to clean up.

This commit is contained in:
Matt Bruzek 2015-05-28 16:58:55 -05:00
parent a464d624e6
commit f261702ef6

View File

@ -60,6 +60,8 @@ function kube-up() {
}
function kube-down() {
# Remove the binary files from the charm directory.
rm -rf cluster/juju/charms/trusty/kubernetes-master/files/output/
local jujuenv
jujuenv=$(cat ~/.juju/current-environment)
juju destroy-environment $jujuenv