Skip to content

Commit

Permalink
refactor(b3t): remove default
Browse files Browse the repository at this point in the history
  • Loading branch information
bdronneau committed Dec 21, 2023
1 parent b335f98 commit 5033075
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions sources/b3t
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@ b3t(){
echo "Subcommands:"
echo " get retrieve kubeconfig from 1password"
echo " switch set KUBECONFIG env vars to specific files"
echo " default copy merge kubeconfig to default .kube/config"
}

command_kubernetes(){
Expand All @@ -252,10 +251,6 @@ b3t(){
shift
command_kubernetes_switch $@
;;
"default")
shift
command_kubernetes_default
;;
*)
command_kubernetes_help
;;
Expand All @@ -269,10 +264,6 @@ b3t(){
export KUBECONFIG="${KUBECONFIG_SELECT}"
}

command_kubernetes_default(){
cp "${B3T_KUBE_CONFIG_DIR}/b3t/all.yaml" "${HOME}/.kube/config"
}

command_kubernetes_config(){
if [ -z "${B3T_KUBE_CLUSTERS}" ]
then
Expand Down

0 comments on commit 5033075

Please sign in to comment.