*: cleanup and unify minikube and self-hosted discovery

This commit is contained in:
Frederic Branczyk committed 2016-12-23 20:06:32 +01:00
1 parent 7516052da2
commit a200051578
14 files changed
+143 -43

No files matched your search

+5 -1
View File
@@ -4,8 +4,12 @@ if [ -z "${KUBECONFIG}" ]; then
KUBECONFIG=~/.kube/config
fi
if [ -z "${NAMESPACE}" ]; then
NAMESPACE=monitoring
fi
kctl() {
kubectl --kubeconfig="$KUBECONFIG" -n "monitoring" "$@"
kubectl --kubeconfig="$KUBECONFIG" -n "$NAMESPACE" "$@"
}
kctl delete -f manifests/exporters