kubeswitch
kubeswitch copied to clipboard
aws eks named profile with kubeswitch store errors
I just came across kubeswitch and its an awesome project - thank you for this!
After i installed kubeswitch and set up the store for eks, and tried setting an alias for the context, i keep getting this error
→ [11:10:17] ~ ✗ s alias dev-admin="arn:aws:eks:us-west-2:xxxx:cluster/dev"
Set alias "dev-admin" for context "arn:aws:eks:us-west-2:xxxx:cluster/dev".
→ [11:10:21] ~ ✗ Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
The shell blocks and until a return is pressed i can't proceed further. This only happens when setting aliases. Removing and listing aliases works fine.
Note: the context does get switched, and everything works fine. It's just during the setting of aliases that causes this issue.
→ [11:23:01] ~ ✗ aws --version
aws-cli/2.11.1 Python/3.11.2 Darwin/23.0.0 source/arm64 prompt/off