hack: allow deploying the example app in non-default namespace

This commit is contained in:
Frederic Branczyk committed 2017-02-28 10:42:36 +01:00
1 parent d4b581fa49
commit 34fd0ebcd0
2 files changed
+17 -5

No files matched your search

+5 -1
View File
@@ -4,5 +4,9 @@ if [ -z "${KUBECONFIG}" ]; then
KUBECONFIG=~/.kube/config
fi
kubectl --kubeconfig="$KUBECONFIG" delete -f manifests/examples/example-app
if [ -z "${NAMESPACE}" ]; then
NAMESPACE=default
fi
kubectl --namespace "$NAMESPACE" --kubeconfig="$KUBECONFIG" delete -f manifests/examples/example-app