*: cleanup and unify minikube and self-hosted discovery

This commit is contained in:
Frederic Branczyk
2016-12-23 17:01:38 +01:00
parent 7516052da2
commit a200051578
14 changed files with 143 additions and 43 deletions

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