Skip to content

Commit 714d2ba

Browse files
authored
fix(auth): ensure OIDC auth plugin is included in compiled binary
1 parent dce5f4f commit 714d2ba

File tree

1 file changed

+4
-0
lines changed
  • pkg/kubernetes-mcp-server/cmd

1 file changed

+4
-0
lines changed

pkg/kubernetes-mcp-server/cmd/root.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ import (
1717
"strings"
1818
)
1919

20+
import (
21+
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
22+
)
23+
2024
var rootCmd = &cobra.Command{
2125
Use: "kubernetes-mcp-server [command] [options]",
2226
Short: "Kubernetes Model Context Protocol (MCP) server",

0 commit comments

Comments
 (0)