Ensure new context used each login

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
AverageMarcus committed 2022-03-01 11:49:13 +00:00
1 parent 0ab4e25456
commit dfba592831
1 file changed
+1
+1
View File
@@ -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