Revert "Make a namespace before using it"

This commit is contained in:
Brian Grant 2015-06-02 16:46:30 -07:00
parent 35872c10d6
commit 6cfa260745

View File

@ -64,19 +64,6 @@ function do_teardown() {
${KUBECTL} delete namespace "${NAMESPACE}"
}
function make_namespace() {
echo "Making namespace '${NAMESPACE}'"
${KUBECTL} create -f - << __EOF__
{
"kind": "Namespace",
"apiVersion": "v1beta3",
"metadata": {
"name": "${NAMESPACE}"
}
}
__EOF__
}
# Args:
# $1: service name
# $2: service port
@ -305,9 +292,6 @@ detect-minions
test_node="${MINION_NAMES[0]}"
master="${MASTER_NAME}"
# Make our namespace
make_namespace
# Launch some pods and services.
svc1_name="service1"
svc1_port=80