Skip to content

Commit 02294fb

Browse files
committed
Enable external cluster config to support oidc
Signed-off-by: dongdwdw <[email protected]>
1 parent dddb1df commit 02294fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/clusteradm.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88

99
"github.com/spf13/cobra"
1010
"k8s.io/cli-runtime/pkg/genericclioptions"
11+
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
1112
"k8s.io/client-go/tools/clientcmd"
1213
cliflag "k8s.io/component-base/cli/flag"
1314
cmdconfig "k8s.io/kubectl/pkg/cmd/config"

0 commit comments

Comments
 (0)