Ensure new context used each login
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
0ab4e25456
commit
dfba592831
@ -58,6 +58,7 @@ case ${#POS_ARGS[@]} in
|
||||
exit 1
|
||||
;;
|
||||
*)
|
||||
kubectl config delete-context gs-${POS_ARGS[0]} &>/dev/null
|
||||
opsctl login ${DEBUG} ${POS_ARGS[@]}
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user