Skip to content

Commit

Permalink
Update kube-query.go (#1)
Browse files Browse the repository at this point in the history
it prevents errors like:  Error on creating kube-client: no Auth Provider found for name "gcp"
  • Loading branch information
alexander-rondon committed Mar 4, 2021
1 parent e9d4405 commit df6c2f5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions kube-query.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ import (
"github.com/aquasecurity/kube-query/tables"
"github.com/aquasecurity/kube-query/utils"
osqueryTable "github.com/kolide/osquery-go/plugin/table"
//
// Uncomment to load all auth plugins
// _ "k8s.io/client-go/plugin/pkg/client/auth"
//
// Or uncomment to load specific auth plugins
// _ "k8s.io/client-go/plugin/pkg/client/auth/azure"
// _ "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"
)

func main() {
Expand Down

0 comments on commit df6c2f5

Please sign in to comment.