Fix defaul namespace if not in config
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
8752ee0267
commit
6ab3606e20
@ -3,6 +3,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
NAMESPACE="$(kubectl config view --minify --output 'jsonpath={..namespace}')"
|
NAMESPACE="$(kubectl config view --minify --output 'jsonpath={..namespace}')"
|
||||||
|
NAMESPACE=${NAMESPACE:-default}
|
||||||
LABEL=""
|
LABEL=""
|
||||||
ALL_NAMESPACES=false
|
ALL_NAMESPACES=false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user