updated kubernetes.sh

pull/2/head
Hari Sekhon 4 years ago
parent 194f9d56a8
commit 8b449d66c0

@ -98,7 +98,10 @@ alias menv='eval $(minikube docker-env)'
# ============================================================================ #
kubectl_opts=("${KUBECTL_OPTS:-}")
# results in a blank arg which breaks kubectl command
#kubectl_opts=("${KUBECTL_OPTS:-}")
# split KUBECTL_OPTS to array properly
read -r -a kubectl_opts <<< "${KUBECTL_OPTS:-}"
# set K8S_NAMESPACE in local .bashrc or similar files for environments where your ~/.kube/config
# gets regenerated daily with certification authentication from a kerberos login script, which
# resets the 'kcd bigdata' namespace change. This way you automatically send the right namespace every time

Loading…
Cancel
Save