Skip to content

Commit

Permalink
remove changes to kubeconfig loader
Browse files Browse the repository at this point in the history
  • Loading branch information
EronWright committed Oct 6, 2023
1 parent 938099c commit 1e3e4ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/pkg/provider/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func loadKubeconfig(pathOrContents string, overrides *clientcmd.ConfigOverrides)
// flags.
loadingRules := clientcmd.NewDefaultClientConfigLoadingRules()
loadingRules.DefaultClientConfig = &clientcmd.DefaultClientConfig
kubeconfig := clientcmd.NewNonInteractiveDeferredLoadingClientConfig(loadingRules, overrides)
kubeconfig := clientcmd.NewInteractiveDeferredLoadingClientConfig(loadingRules, overrides, os.Stdin)
apiConfig, err := kubeconfig.RawConfig()
if err != nil {
return nil, nil, err
Expand Down

0 comments on commit 1e3e4ee

Please sign in to comment.