omrikiei / ktunnel

A cli that exposes your local resources to kubernetes
GNU General Public License v3.0
975 stars 75 forks source link

Load the kubeconfig using the DefaultLoader rules #58

Closed Mariappan closed 3 years ago

Mariappan commented 3 years ago

Fixes https://github.com/omrikiei/ktunnel/issues/57

Changes: Use the default loader rules instead of trying to load file directly. This is needed if we specify multiple files in KUBE_CONFIG env variable

Tests: Verified ktunnel launches successfully without crashing