Skip to content
This repository has been archived by the owner on Oct 30, 2024. It is now read-only.

Commit

Permalink
Add auth support for azure, exec, oidc, openstack (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
genevieveluyt authored Jan 12, 2021
1 parent 202e355 commit 907d305
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/k8s/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ import (
"k8s.io/client-go/tools/clientcmd"
clientcmdapi "k8s.io/client-go/tools/clientcmd/api"

// add GCP authentication support to the kubernetes code
// add authentication support to the kubernetes code
_ "k8s.io/client-go/plugin/pkg/client/auth/azure"
_ "k8s.io/client-go/plugin/pkg/client/auth/exec"
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
_ "k8s.io/client-go/plugin/pkg/client/auth/openstack"
)

// ErrNoReadableKubeConfig represents any error that prevents the client from opening a kubeconfig file.
Expand Down

0 comments on commit 907d305

Please sign in to comment.