Closed todd-dsm closed 5 years ago
Fixed
cat << EOF >> "$myBashrc"
###############################################################################
### KUBERNETES ###
###############################################################################
export HELM_HOME="\$HOME/.helm"
localKubes="\$HOME/.kube/config"
# testKubes="\$HOME/code/kubes/secrets/auth/kubes-config"
# stagKubes="\$HOME/code/kubes/secrets/auth/kubes-config"
# prodKubes="\$HOME/code/kubes/secrets/auth/kubes-config"
#export KUBECONFIG="\$localKubes:\$testKubes:\$stagKubes:\$prodKubes"
export KUBECONFIG="\$localKubes"
#export KUBECONFIG_SAVED="\$KUBECONFIG"
source <(kubectl completion bash)
source <(helm completion bash)
source <(minikube completion bash)
EOF
add kubectl and completions
brew install kubectl
Bash completion is automatically installed to:
/usr/local/etc/bash_completion.d