Skip to content

Commit

Permalink
feat(cmd): add support for oidc auth provider
Browse files Browse the repository at this point in the history
Symptoms:

```
$ kubectl trace run $NODE_NAME -e "tracepoint:syscalls:sys_enter_* { @[probe] = count(); }"
Error: No Auth Provider found for name "oidc"
```

The client/auth/oidc pkg in client-go is not vendored. This patch adds
the blank import.

Signed-off-by: Alban Crequy <[email protected]>
  • Loading branch information
alban committed Jan 11, 2019
1 parent 04e3299 commit 9e986f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/kubectl-trace/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"github.com/spf13/pflag"
"k8s.io/cli-runtime/pkg/genericclioptions"
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
)

func main() {
Expand Down

0 comments on commit 9e986f7

Please sign in to comment.