Skip to content

Commit

Permalink
fix #7 (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericjee authored Feb 25, 2022
1 parent 5a7ab5b commit e21b283
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/cli/client/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ import (
"k8s.io/client-go/rest"
"k8s.io/client-go/tools/clientcmd"
log "kubeorbit.io/pkg/cli/logger"

// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
// to ensure that exec-entrypoint and run can make use of them.
_ "k8s.io/client-go/plugin/pkg/client/auth"
)

var kubeConfig *rest.Config
Expand Down

0 comments on commit e21b283

Please sign in to comment.