fix(migration): rebranded from manusa/kubernetes-mcp-server to containers/kubernetes-mcp-server (#202)

Signed-off-by: Marc Nuri <marc@marcnuri.com>
This commit is contained in:
Marc Nuri
2025-07-25 09:53:04 +02:00
committed by GitHub
parent 9856802fe9
commit cad863ff22
34 changed files with 56 additions and 56 deletions

View File

@@ -11,7 +11,7 @@ import (
"github.com/go-jose/go-jose/v4/jwt"
"k8s.io/klog/v2"
"github.com/manusa/kubernetes-mcp-server/pkg/mcp"
"github.com/containers/kubernetes-mcp-server/pkg/mcp"
)
const (

View File

@@ -13,8 +13,8 @@ import (
"k8s.io/klog/v2"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/manusa/kubernetes-mcp-server/pkg/mcp"
"github.com/containers/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/mcp"
)
const (

View File

@@ -21,8 +21,8 @@ import (
"k8s.io/klog/v2"
"k8s.io/klog/v2/textlogger"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/manusa/kubernetes-mcp-server/pkg/mcp"
"github.com/containers/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/mcp"
)
type httpContext struct {

View File

@@ -22,11 +22,11 @@ import (
"k8s.io/kubectl/pkg/util/i18n"
"k8s.io/kubectl/pkg/util/templates"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
internalhttp "github.com/manusa/kubernetes-mcp-server/pkg/http"
"github.com/manusa/kubernetes-mcp-server/pkg/mcp"
"github.com/manusa/kubernetes-mcp-server/pkg/output"
"github.com/manusa/kubernetes-mcp-server/pkg/version"
"github.com/containers/kubernetes-mcp-server/pkg/config"
internalhttp "github.com/containers/kubernetes-mcp-server/pkg/http"
"github.com/containers/kubernetes-mcp-server/pkg/mcp"
"github.com/containers/kubernetes-mcp-server/pkg/output"
"github.com/containers/kubernetes-mcp-server/pkg/version"
)
var (

View File

@@ -5,7 +5,7 @@ import (
"k8s.io/apimachinery/pkg/runtime/schema"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/config"
)
// isAllowed checks the resource is in denied list or not.

View File

@@ -21,7 +21,7 @@ import (
metricsv1beta1api "k8s.io/metrics/pkg/apis/metrics/v1beta1"
metricsv1beta1 "k8s.io/metrics/pkg/client/clientset/versioned/typed/metrics/v1beta1"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/config"
)
// AccessControlClientset is a limited clientset delegating interface to the standard kubernetes.Clientset

View File

@@ -5,7 +5,7 @@ import (
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/client-go/restmapper"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/config"
)
type AccessControlRESTMapper struct {

View File

@@ -10,7 +10,7 @@ import (
"k8s.io/client-go/rest"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/config"
)
func TestKubernetes_IsInCluster(t *testing.T) {

View File

@@ -20,8 +20,8 @@ import (
clientcmdapi "k8s.io/client-go/tools/clientcmd/api"
"k8s.io/klog/v2"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/manusa/kubernetes-mcp-server/pkg/helm"
"github.com/containers/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/helm"
_ "k8s.io/client-go/plugin/pkg/client/auth/oidc"
)

View File

@@ -6,7 +6,7 @@ import (
"path"
"testing"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/config"
)
func TestManager_Derived(t *testing.T) {

View File

@@ -18,7 +18,7 @@ import (
"k8s.io/metrics/pkg/apis/metrics"
metricsv1beta1api "k8s.io/metrics/pkg/apis/metrics/v1beta1"
"github.com/manusa/kubernetes-mcp-server/pkg/version"
"github.com/containers/kubernetes-mcp-server/pkg/version"
)
type PodsTopOptions struct {

View File

@@ -7,7 +7,7 @@ import (
"regexp"
"strings"
"github.com/manusa/kubernetes-mcp-server/pkg/version"
"github.com/containers/kubernetes-mcp-server/pkg/version"
authv1 "k8s.io/api/authorization/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"

View File

@@ -16,8 +16,8 @@ import (
"testing"
"time"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/manusa/kubernetes-mcp-server/pkg/output"
"github.com/containers/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/output"
"github.com/mark3labs/mcp-go/client"
"github.com/mark3labs/mcp-go/client/transport"
"github.com/mark3labs/mcp-go/mcp"

View File

@@ -7,7 +7,7 @@ import (
"github.com/mark3labs/mcp-go/mcp"
"github.com/mark3labs/mcp-go/server"
"github.com/manusa/kubernetes-mcp-server/pkg/output"
"github.com/containers/kubernetes-mcp-server/pkg/output"
)
func (s *Server) initConfiguration() []server.ServerTool {

View File

@@ -1,7 +1,7 @@
package mcp
import (
"github.com/manusa/kubernetes-mcp-server/pkg/kubernetes"
"github.com/containers/kubernetes-mcp-server/pkg/kubernetes"
"github.com/mark3labs/mcp-go/mcp"
"k8s.io/client-go/rest"
v1 "k8s.io/client-go/tools/clientcmd/api/v1"

View File

@@ -7,7 +7,7 @@ import (
"github.com/mark3labs/mcp-go/mcp"
"github.com/mark3labs/mcp-go/server"
"github.com/manusa/kubernetes-mcp-server/pkg/output"
"github.com/containers/kubernetes-mcp-server/pkg/output"
)
func (s *Server) initEvents() []server.ServerTool {

View File

@@ -1,7 +1,7 @@
package mcp
import (
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/config"
"github.com/mark3labs/mcp-go/mcp"
v1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

View File

@@ -3,7 +3,7 @@ package mcp
import (
"context"
"encoding/base64"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/config"
"github.com/mark3labs/mcp-go/mcp"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors"

View File

@@ -12,10 +12,10 @@ import (
authenticationapiv1 "k8s.io/api/authentication/v1"
"k8s.io/utils/ptr"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
internalk8s "github.com/manusa/kubernetes-mcp-server/pkg/kubernetes"
"github.com/manusa/kubernetes-mcp-server/pkg/output"
"github.com/manusa/kubernetes-mcp-server/pkg/version"
"github.com/containers/kubernetes-mcp-server/pkg/config"
internalk8s "github.com/containers/kubernetes-mcp-server/pkg/kubernetes"
"github.com/containers/kubernetes-mcp-server/pkg/output"
"github.com/containers/kubernetes-mcp-server/pkg/version"
)
type Configuration struct {

View File

@@ -7,7 +7,7 @@ import (
"strings"
"testing"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/config"
)
func TestUnrestricted(t *testing.T) {

View File

@@ -7,7 +7,7 @@ import (
"github.com/mark3labs/mcp-go/mcp"
"github.com/mark3labs/mcp-go/server"
"github.com/manusa/kubernetes-mcp-server/pkg/kubernetes"
"github.com/containers/kubernetes-mcp-server/pkg/kubernetes"
)
func (s *Server) initNamespaces() []server.ServerTool {

View File

@@ -1,8 +1,8 @@
package mcp
import (
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/manusa/kubernetes-mcp-server/pkg/output"
"github.com/containers/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/output"
"github.com/mark3labs/mcp-go/mcp"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"

View File

@@ -10,8 +10,8 @@ import (
"github.com/mark3labs/mcp-go/server"
"k8s.io/kubectl/pkg/metricsutil"
"github.com/manusa/kubernetes-mcp-server/pkg/kubernetes"
"github.com/manusa/kubernetes-mcp-server/pkg/output"
"github.com/containers/kubernetes-mcp-server/pkg/kubernetes"
"github.com/containers/kubernetes-mcp-server/pkg/output"
)
func (s *Server) initPods() []server.ServerTool {

View File

@@ -2,7 +2,7 @@ package mcp
import (
"bytes"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/config"
"github.com/mark3labs/mcp-go/mcp"
"io"
v1 "k8s.io/api/core/v1"

View File

@@ -1,8 +1,8 @@
package mcp
import (
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/manusa/kubernetes-mcp-server/pkg/output"
"github.com/containers/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/output"
"regexp"
"strings"
"testing"

View File

@@ -7,7 +7,7 @@ import (
"github.com/mark3labs/mcp-go/mcp"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/config"
)
func TestPodsTopMetricsUnavailable(t *testing.T) {

View File

@@ -9,8 +9,8 @@ import (
"github.com/mark3labs/mcp-go/server"
"k8s.io/apimachinery/pkg/runtime/schema"
"github.com/manusa/kubernetes-mcp-server/pkg/kubernetes"
"github.com/manusa/kubernetes-mcp-server/pkg/output"
"github.com/containers/kubernetes-mcp-server/pkg/kubernetes"
"github.com/containers/kubernetes-mcp-server/pkg/output"
)
func (s *Server) initResources() []server.ServerTool {

View File

@@ -14,8 +14,8 @@ import (
"k8s.io/client-go/dynamic"
"sigs.k8s.io/yaml"
"github.com/manusa/kubernetes-mcp-server/pkg/config"
"github.com/manusa/kubernetes-mcp-server/pkg/output"
"github.com/containers/kubernetes-mcp-server/pkg/config"
"github.com/containers/kubernetes-mcp-server/pkg/output"
)
func TestResourcesList(t *testing.T) {