mirror of
https://github.com/containers/kubernetes-mcp-server.git
synced 2025-10-23 01:22:57 +03:00
refactor(auth): oidc auth plugin import location
This commit is contained in:
@@ -17,10 +17,6 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
import (
|
||||
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
|
||||
)
|
||||
|
||||
var rootCmd = &cobra.Command{
|
||||
Use: "kubernetes-mcp-server [command] [options]",
|
||||
Short: "Kubernetes Model Context Protocol (MCP) server",
|
||||
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
"k8s.io/client-go/discovery/cached/memory"
|
||||
"k8s.io/client-go/dynamic"
|
||||
"k8s.io/client-go/kubernetes"
|
||||
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
|
||||
"k8s.io/client-go/rest"
|
||||
"k8s.io/client-go/restmapper"
|
||||
"k8s.io/client-go/tools/clientcmd"
|
||||
|
||||
Reference in New Issue
Block a user