Compare commits
No commits in common. "b40d7e7a6ac0b0fad8872da6991c30eb23f6223f" and "929cdf0f256a0debf68a18935462533f346399a8" have entirely different histories.
b40d7e7a6a
...
929cdf0f25
@ -14,4 +14,3 @@ lt() {
|
||||
fi
|
||||
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'
|
||||
|
@ -73,7 +73,7 @@ source <(kubectl completion zsh)
|
||||
## Merge multiple kubeconfigs
|
||||
function join_by { local d=$1; shift; echo -n "$1"; shift; printf "%s" "${@/#/$d}"; }
|
||||
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
|
||||
|
||||
## Kubectl exec
|
||||
|
Loading…
Reference in New Issue
Block a user