Compare commits

..

No commits in common. "b40d7e7a6ac0b0fad8872da6991c30eb23f6223f" and "929cdf0f256a0debf68a18935462533f346399a8" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View File

@ -14,4 +14,3 @@ lt() {
fi fi
ls -l --tree -L $DEPTH -I ".git|cache|log|logs|node_modules|vendor" $@ ls -l --tree -L $DEPTH -I ".git|cache|log|logs|node_modules|vendor" $@
} }
alias aws='docker run --rm -ti -v ~/.aws:/root/.aws -v $(pwd):/aws -e AWS_PROFILE -e AWS_DEFAULT_REGION -e AWS_REGION -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY amazon/aws-cli'

View File

@ -73,7 +73,7 @@ source <(kubectl completion zsh)
## Merge multiple kubeconfigs ## Merge multiple kubeconfigs
function join_by { local d=$1; shift; echo -n "$1"; shift; printf "%s" "${@/#/$d}"; } function join_by { local d=$1; shift; echo -n "$1"; shift; printf "%s" "${@/#/$d}"; }
KUBECONFIG="$HOME/.kube/config" KUBECONFIG="$HOME/.kube/config"
OTHER_CLUSTERS="$(join_by :$HOME/.kube/clusters/ $(echo $HOME/.kube/clusters/$(/bin/ls $HOME/.kube/clusters)))" OTHER_CLUSTERS="$(join_by :$HOME/.kube/clusters/ $(echo $HOME/.kube/clusters/$(ls $HOME/.kube/clusters)))"
export KUBECONFIG=$KUBECONFIG:$OTHER_CLUSTERS export KUBECONFIG=$KUBECONFIG:$OTHER_CLUSTERS
## Kubectl exec ## Kubectl exec