From 6ab3606e205ee87294ea054b5ecd12bb8c373f63 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Mon, 6 Dec 2021 09:34:16 +0000 Subject: [PATCH] Fix defaul namespace if not in config Signed-off-by: Marcus Noble --- home/.bin/kube-all | 1 + 1 file changed, 1 insertion(+) diff --git a/home/.bin/kube-all b/home/.bin/kube-all index ae3ca1b..33f7e83 100755 --- a/home/.bin/kube-all +++ b/home/.bin/kube-all @@ -3,6 +3,7 @@ set -e NAMESPACE="$(kubectl config view --minify --output 'jsonpath={..namespace}')" +NAMESPACE=${NAMESPACE:-default} LABEL="" ALL_NAMESPACES=false