Support KUBECONFIG with multiple kube config files (#1126)
* support KUBECONFIG with multiple kube config files * use a more cross-platform friendly implementation to get the current users home dir
This commit is contained in:
@@ -60,7 +60,7 @@ func DumpInfo(c *cli.Context) error {
|
||||
}
|
||||
|
||||
client := util.GetApiClient(util.GetServerUrl())
|
||||
_, k8sClient := util.GetKubernetesClient(util.GetKubeConfigPath())
|
||||
_, k8sClient := util.GetKubernetesClient()
|
||||
|
||||
ress := map[string]resources.Resource{
|
||||
// kubernetes info
|
||||
|
||||
Reference in New Issue
Block a user