-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
If we set multiple KUBECONFIG in our $KUBECONFIG
env flag, suspicious-pods
could not understand and throws an exception:
$ export KUBECONFIG=$KUBECONFIG:$HOME/.kube/config:$HOME/.kube/config-foo:$HOME/.kube/config-bar
$ suspicious-pods
Error: Kubeconfig(ConfigInferenceExhausted { cluster_env: Kubeconfig(MissingInClusterVariables { hostenv: "KUBERNETES_SERVICE_HOST", portenv: "KUBERNETES_SERVICE_PORT" }), kubeconfig: Kubeconfig(ReadFile { path: ":/Users/furkan/.kube/config:/Users/furkan/.kube/config-foo:/Users/furkan/.kube/config-bar", source: Os { code: 2, kind: NotFound, message: "No such file or directory" } }) })
I think it should recognize that if given input is multiple files.
pms1969
Metadata
Metadata
Assignees
Labels
No labels