You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @sbstp ,
If KUBECONFIG variable become invalid, kubie isn't functioning anymore.
[13:08:30 ~ 0] >> pierre $ kubie ctx api-prod
[api-prod|monitoring] [13:08:32 ~ 0] >> pierre $ export KUBECONFIG="/dev/null"
Error: EOF while parsing a value
Error: EOF while parsing a value
[|] [13:08:45 ~ 0] >> pierre $
Error: EOF while parsing a value
Error: EOF while parsing a value
[|] [13:08:48 ~ 0] >> pierre $ kubie ctx a
Error: Could not find context a
Error: EOF while parsing a value
Error: EOF while parsing a value
[|] [13:08:52 ~ 1] >> pierre $ kubie ctx api-prod
Error: EOF while parsing a value
Error: EOF while parsing a value
[|] [13:08:57 ~ 0] >> pierre $
We could use a KUBIE_KUBECONFIG variable to avoid this.
What do you think ?
Thanks,
Pierre
The text was updated successfully, but these errors were encountered:
Yeah that's a good idea. I think I can also do a hack which would make it impossible to break kubectl by playing with the KUBECONFIG variable. In the .bashrc I can generate a function that sets the variable every time like so:
Hi @sbstp ,
If KUBECONFIG variable become invalid, kubie isn't functioning anymore.
We could use a KUBIE_KUBECONFIG variable to avoid this.
What do you think ?
Thanks,
Pierre
The text was updated successfully, but these errors were encountered: