Compare commits
No commits in common. "18bd3c0985815d32745b6f901d3e03a0c60fd016" and "4b006c5c43a6b6273c418fd6dcbb23bc4086a9eb" have entirely different histories.
18bd3c0985
...
4b006c5c43
@ -60,10 +60,12 @@ MC_EXIST=$(kubectl config get-contexts --no-headers -o name gs-${POS_ARGS[0]} 2>
|
||||
|
||||
case ${#POS_ARGS[@]} in
|
||||
1)
|
||||
opsctl login ${DEBUG} ${POS_ARGS[0]}
|
||||
kubectl config delete-context gs-${POS_ARGS[0]} &>/dev/null
|
||||
kubectl gs login ${POS_ARGS[0]} ${DEBUG} 2>/dev/null || opsctl kgs login -i ${POS_ARGS[0]} || opsctl create kubeconfig -i ${POS_ARGS[0]}
|
||||
;;
|
||||
2)
|
||||
opsctl login ${DEBUG} ${POS_ARGS[0]} ${POS_ARGS[1]}
|
||||
if [ ${MC_EXIST} -eq 0 ]; then gs-login ${POS_ARGS[0]}; fi
|
||||
kubectl gs login ${POS_ARGS[0]} --workload-cluster ${POS_ARGS[1]} --certificate-group ${CERTIFICATE_GROUP} --certificate-ttl ${TTL} ${DEBUG}
|
||||
;;
|
||||
3)
|
||||
if [ ${MC_EXIST} -eq 0 ]; then gs-login ${POS_ARGS[0]}; fi
|
||||
|
@ -29,7 +29,7 @@ BREW_TOOLS=(
|
||||
git-delta go helm homebrew/cask-fonts/font-open-dyslexic-nerd-font htop jq kind krew
|
||||
kubectl kubectx kustomize node procs progress ripgrep rs/tap/curlie rust starship
|
||||
tektoncd/tools/tektoncd-cli tldr tailscale yq hashicorp/tap/vault stats
|
||||
tabby vale lastpass-cli jless
|
||||
tabby vale lastpass-cli
|
||||
)
|
||||
CARGO_TOOLS=( macchina bottom )
|
||||
NODE_TOOLS=( git-split-diffs )
|
||||
|
Loading…
Reference in New Issue
Block a user