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
root ➜ /workspaces/mirrord (test) $ target/debug/mirrord exec -c --pod-name ok ls
thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Failed to load kube-configCaused by: 0: failed to infer config: in-cluster: (failed to read the default namespace: No such file or directory (os error 2)), kubeconfig: (failed to read kubeconfig from '"/root/.kube/config"': No such file or directory (os error 2)) 1: failed to read kubeconfig from '"/root/.kube/config"': No such file or directory (os error 2) 2: No such file or directory (os error 2)', mirrord-layer/src/lib.rs:76:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
Aborted (core dumped)
error when there is no kubeconfig
we need to remove this https://github.com/metalbear-co/mirrord/blob/main/mirrord-layer/src/lib.rs#L75 unwrap in lib.rs and handle the error
The text was updated successfully, but these errors were encountered: