Currently main.rs calls kube::Client::try_default() with no override. Users with multiple kubeconfigs or contexts have no way to specify which cluster to query. Every production kubectl plugin should support these flags.
The kube crate supports both via Config::from_custom_kubeconfig and ConfigOptions.
Currently
main.rscallskube::Client::try_default()with no override. Users with multiple kubeconfigs or contexts have no way to specify which cluster to query. Every production kubectl plugin should support these flags.The
kubecrate supports both viaConfig::from_custom_kubeconfigandConfigOptions.