deggja / netfetch

Kubernetes tool for scanning clusters for network policies and identifying unprotected workloads.
MIT License
381 stars 24 forks source link

Feature Request: Add a --kubeconfig parameter to give the path/name of a kubeconfig file to use #163

Open kastl-ars opened 3 weeks ago

kastl-ars commented 3 weeks ago

Thanks for this nice tool.

One thing that I think might be helpful, especially for people working with multiple clusters:

Add a --kubeconfig parameter to the CLI that accepts the name or path of a kubeconfig file to use. Most kubernetes-related tools have such a parameter, including kubectl.

deggja commented 3 weeks ago

Thanks for this nice tool.

One thing that I think might be helpful, especially for people working with multiple clusters:

Add a --kubeconfig parameter to the CLI that accepts the name or path of a kubeconfig file to use. Most kubernetes-related tools have such a parameter, including kubectl.

Thanks for the request! I am sure you know, albeit a bit tedious, the app looks for an environment variable OR the default kubeconfig, meaning you can specify the kubeconfig you want to use in the env variable to accomplish the same, but I get that its one extra step.

Thanks again for trying netfetch and contributing 🚀