Compare commits
No commits in common. "c991af3e0ffb61f3dd6f882016b5d6bacc28b4bc" and "93134c7f30f67b673c8894b70c9da420f62c0411" have entirely different histories.
c991af3e0f
...
93134c7f30
@ -64,8 +64,6 @@ if [ -z $MFA ] || [ -z $MFA_ARN ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
unset AWS_PROFILE
|
|
||||||
|
|
||||||
printf "✨ Getting session credentials..."
|
printf "✨ Getting session credentials..."
|
||||||
SESSION_JSON=$(aws sts get-session-token --serial-number ${MFA_ARN} --token-code ${MFA})
|
SESSION_JSON=$(aws sts get-session-token --serial-number ${MFA_ARN} --token-code ${MFA})
|
||||||
printf "\n\e[1A\e[K✅ Got session credentials\n"
|
printf "\n\e[1A\e[K✅ Got session credentials\n"
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
# Giant Swarm utils
|
|
||||||
which opsctl &>/dev/null && screen -dm bash -c 'opsctl version update'
|
|
||||||
which devctl &>/dev/null && screen -dm bash -c 'devctl version update'
|
|
||||||
which kubectl-gs &>/dev/null && screen -dm bash -c 'kubectl-gs selfupdate'
|
|
||||||
which opsctl &>/dev/null && opsctl completion zsh > /usr/local/share/zsh/site-functions/_opsctl
|
|
||||||
which devctl &>/dev/null && devctl completion zsh > /usr/local/share/zsh/site-functions/_devctl
|
|
||||||
rm -f ~/.zcompdump; compinit
|
|
Loading…
x
Reference in New Issue
Block a user