From 1f2186fa0248bf5bd773309908caa3a56de0c5d6 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Fri, 2 Aug 2019 15:09:34 +0100 Subject: [PATCH] updated k8s.sh --- .bash.d/k8s.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bash.d/k8s.sh b/.bash.d/k8s.sh index 742cb6b8..e2cca1c5 100755 --- a/.bash.d/k8s.sh +++ b/.bash.d/k8s.sh @@ -23,7 +23,7 @@ k(){ kubectl_opts="-n $K8S_NAMESPACE" fi # shellcheck disable=SC2086 - kubectl $opts "$@" + kubectl $kubectl_opts "$@" } get_pod(){ @@ -60,6 +60,6 @@ alias wp=watchpods alias contexts="k config get-contexts" alias context="k config current-context" -alias kcd="kubectl config set-context $(kubectl config current-context) --namespace" +alias kcd='kubectl config set-context $(kubectl config current-context) --namespace' alias menv='eval $(minikube docker-env)'