nautik-io / helper

Helper app to bridge Nautik's compatibility with the full kubeconfig spec, including exec plugins, without having the main app exit the sandbox
https://nautik.io
Apache License 2.0
5 stars 0 forks source link

Error adding EKS or GKE through kubeconfig file #2

Open mofirouz opened 8 months ago

mofirouz commented 8 months ago

Whilst adding either EKS or GKE clusters to the helper app, I see this issue.

For EKS:

Error adding cluster: zsh: 1: command not found: ^[]1337 zsh:1:command not found: --region

For GKE:

Error adding cluster: zsh: 1: command not found: ^[]1337
ewilken commented 8 months ago

This is weird, thanks a lot for reporting! I'll look into it.

mofirouz commented 8 months ago

Just wanted to come back and say I tried v1.0.2 and this issue still exists sadly.

ewilken commented 8 months ago

Thanks for the heads up! I didn't get to dive into this yet, but I hope to find the time this week.

Is there anything special about your shell config? Any related aliases on your .zshrc, are the AWS and GCP CLIs visible on your PATH, etc.? I'm pretty sure the issue is on my end and related to not spawning the interactive shell to run the process in properly, I'm just happy about any hint that might help me pinpoint this. 😄

I'll try to get back to you about this asap. Looking forward to getting this resolved and making the app work for you. Thanks a lot for your help and your patience! 🙂

ewilken commented 8 months ago

Version 1.0.3 is out and contains a little trial and error. Happy to hear whether it changes anything for you! 🤞

mofirouz commented 8 months ago

Hi @ewilken thanks much for your attention - sadly the issue isn't solved (same exact errors as above). Attached is a redacted .zshrc - I think the issue maybe something to do with ohmyzsh. zshrc.txt

ewilken commented 8 months ago

1.0.4 is out, with another try. 🤞 I'm really sorry about this trial and error. I hope we'll get to the bottom of this soon!

mofirouz commented 8 months ago

Unfortunately, same issue as above :(

ewilken commented 7 months ago

Just to bump this, I haven't forgotten about this issue and I'm hoping to get to the bottom of it soon. Thanks for hanging in.