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
when I run kubebox in a kubernetes cluster without certificate,a error was raised:
[eval]:367
if (this.user.certificatePath) {
^
TypeError: Cannot read property 'certificatePath' of undefined
at Context.getMasterApi ([eval]:367:19)
at new Kubebox ([eval]:1218:55)
at Object.1../lib/config/context ([eval]:31:1)
at s ([eval]:1:254)
at e ([eval]:1:425)
at [eval]:1:443
at Script.runInThisContext (vm.js:65:33)
at Object.runInThisContext (vm.js:199:38)
at Object.<anonymous> ([eval]-wrapper:6:22)
at Module._compile (module.js:660:30)
The text was updated successfully, but these errors were encountered:
@cscetbon I'll try to have it fixed for the next release.
I haven't been able to reproduce though it seems it's caused by a kube config file having a context with user that cannot be found in the users section by name. Would you be able to share your kube config file or confirm that hypothesis?
when I run kubebox in a kubernetes cluster without certificate,a error was raised:
The text was updated successfully, but these errors were encountered: