Skip to content

Commit

Permalink
Add auth support for azure, exec, oidc, openstack
Browse files Browse the repository at this point in the history
  • Loading branch information
genevieveluyt committed Jan 6, 2021
1 parent 202e355 commit 5dc3592
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 5dc3592

Please sign in to comment.