10 lines
165 B
Plaintext
10 lines
165 B
Plaintext
|
#!/usr/bin/env bash
|
||
|
set -euo pipefail
|
||
|
|
||
|
context=$(kubectl config get-contexts -o name | fzf)
|
||
|
if [ $? -ne 0 ]; then
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
kubectl config use-context "$context"
|