Cleanup resources after shell tests exit

This commit is contained in:
Jeff Lowdermilk
2015-02-13 17:31:26 -08:00
parent b786c116b6
commit 8ad671b01e
3 changed files with 5 additions and 7 deletions

View File

@@ -509,7 +509,7 @@ function kube-up {
local kubectl="${KUBE_ROOT}/cluster/kubectl.sh"
local context="${PROJECT}_${INSTANCE_PREFIX}"
local user="${INSTANCE_PREFIX}-admin"
local user="${context}-admin"
local config_dir="${HOME}/.kube/${context}"
# TODO: generate ADMIN (and KUBELET) tokens and put those in the master's