Skip to content

Commit 162ca39

Browse files
authored
Merge pull request #18 from ardaguclu/sync-downstream
CNTRLPLANE-1274: Sync with upstream and add OCP specific initial configurations
2 parents fff69eb + 8ecb2b4 commit 162ca39

File tree

5,384 files changed

+1680031
-73
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,384 files changed

+1680031
-73
lines changed

.ci-operator.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
build_root_image:
2+
namespace: openshift
3+
name: release
4+
tag: rhel-9-release-golang-1.24-openshift-4.20

Dockerfile.ci

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
ARG BUILDER_IMAGE=registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.24-openshift-4.20
2+
ARG BASE_IMAGE=registry.ci.openshift.org/ocp/4.20:base-rhel9
3+
4+
# Build the manager binary
5+
FROM ${BUILDER_IMAGE} AS builder
6+
ARG TARGETOS
7+
ARG TARGETARCH
8+
ARG TARGETPLATFORM
9+
10+
USER 0
11+
12+
WORKDIR /workspace
13+
COPY . .
14+
15+
ENV GOEXPERIMENT=strictfipsruntime
16+
RUN make -f Makefile-ocp.mk build-ocp GO_BUILD_ENV='GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH}'
17+
18+
FROM --platform=$TARGETPLATFORM ${BASE_IMAGE}
19+
WORKDIR /
20+
COPY --from=builder /workspace/openshift-mcp-server .
21+
RUN mkdir /licenses
22+
COPY --from=builder /workspace/LICENSE /licenses/.
23+
USER 65532:65532
24+
25+
COPY mcp_config.toml /mcp_config.toml
26+
ENV CONFIG_PATH=/mcp_config.toml
27+
28+
# Labels for enterprise contract
29+
LABEL com.redhat.component=openshift-mcp-server
30+
LABEL description="Red Hat OpenShift MCP Server"
31+
LABEL io.k8s.description="Red Hat OpenShift MCP Server"
32+
LABEL io.k8s.display-name="Red Hat OpenShift MCP Server"
33+
LABEL io.openshift.tags="openshift,mcp"
34+
LABEL name=openshift-mcp-server
35+
LABEL release=0.0.1
36+
LABEL url="https://github.com/openshift/openshift-mcp-server"
37+
LABEL vendor="Red Hat, Inc."
38+
LABEL version=0.0.1
39+
LABEL summary="Red Hat OpenShift MCP Server"
40+
41+
ENTRYPOINT ["/openshift-mcp-server", "--config", "$CONFIG_PATH"]

Dockerfile.ocp

Lines changed: 26 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,42 @@
1-
FROM registry.redhat.io/ubi9/go-toolset:1.24.4-1754467841 AS builder
1+
ARG BUILDER_IMAGE=registry.redhat.io/ubi9/go-toolset:1.24.4-1754467841
2+
ARG BASE_IMAGE=registry.redhat.io/rhel9-4-els/rhel-minimal:9.4
3+
4+
# Build the manager binary
5+
FROM ${BUILDER_IMAGE} AS builder
26
ARG TARGETOS
37
ARG TARGETARCH
8+
ARG TARGETPLATFORM
49

5-
WORKDIR /workspace
610
USER 0
7-
# Copy the Go Modules manifests
8-
COPY go.mod go.mod
9-
COPY go.sum go.sum
10-
# cache deps before building and copying source so that we don't need to re-download as much
11-
# and so that source changes don't invalidate our downloaded layer
12-
RUN go mod download
13-
14-
COPY cmd/ cmd/
15-
COPY pkg/ pkg/
16-
17-
# this directory is checked by ecosystem-cert-preflight-checks task in Konflux
18-
COPY LICENSE /licenses/
19-
20-
# Build
21-
# the GOARCH has not a default value to allow the binary be built according to the host where the command
22-
# was called. For example, if we call make docker-build in a local env which has the Apple Silicon M1 SO
23-
# the docker BUILDPLATFORM arg will be linux/arm64 when for Apple x86 it will be linux/amd64. Therefore,
24-
# by leaving it empty we can ensure that the container and binary shipped on it will have the same platform.
25-
RUN CGO_ENABLED=1 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build -a -tags strictfipsruntime -o openshift-mcp-server ./cmd/kubernetes-mcp-server
26-
27-
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
28-
WORKDIR /app
29-
COPY --from=builder /workspace/openshift-mcp-server /app/openshift-mcp-server
30-
COPY --from=builder /licenses /licenses
31-
ENTRYPOINT ["/app/openshift-mcp-server", "--port", "8080"]
32-
33-
EXPOSE 8080
11+
12+
WORKDIR /workspace
13+
COPY . .
14+
15+
ENV GOEXPERIMENT=strictfipsruntime
16+
RUN make -f Makefile-ocp.mk build-ocp GO_BUILD_ENV='GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH}'
17+
18+
FROM --platform=$TARGETPLATFORM ${BASE_IMAGE}
19+
WORKDIR /
20+
COPY --from=builder /workspace/openshift-mcp-server .
21+
RUN mkdir /licenses
22+
COPY --from=builder /workspace/LICENSE /licenses/.
23+
USER 65532:65532
24+
25+
COPY mcp_config.toml /mcp_config.toml
26+
ENV CONFIG_PATH=/mcp_config.toml
3427

3528
# Labels for enterprise contract
3629
LABEL com.redhat.component=openshift-mcp-server
3730
LABEL description="Red Hat OpenShift MCP Server"
38-
LABEL distribution-scope=private
3931
LABEL io.k8s.description="Red Hat OpenShift MCP Server"
40-
LABEL io.k8s.display-name="Openshift Lightspeed RAG content"
41-
LABEL io.openshift.tags="openshift,lightspeed,mcp,assistant,rag"
32+
LABEL io.k8s.display-name="Red Hat OpenShift MCP Server"
33+
LABEL io.openshift.tags="openshift,mcp"
4234
LABEL name=openshift-mcp-server
4335
LABEL release=0.0.1
4436
LABEL url="https://github.com/openshift/openshift-mcp-server"
4537
LABEL vendor="Red Hat, Inc."
4638
LABEL version=0.0.1
4739
LABEL summary="Red Hat OpenShift MCP Server"
4840

49-
USER 65532:65532
41+
ENTRYPOINT ["/openshift-mcp-server", "--config", "$CONFIG_PATH"]
42+

Makefile-ocp.mk

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
include Makefile
2+
3+
.PHONY: build-ocp
4+
build-ocp: clean format
5+
CGO_ENABLED=1 $(GO_BUILD_ENV) go build $(COMMON_BUILD_ARGS) -tags=strictfipsruntime -mod=vendor -a -o openshift-mcp-server ./cmd/kubernetes-mcp-server

OWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
reviewers:
2+
- ardaguclu
3+
approvers:
4+
- ardaguclu
5+
component: "openshift-mcp-server"

go.mod

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ require (
1414
github.com/spf13/pflag v1.0.7
1515
golang.org/x/oauth2 v0.30.0
1616
golang.org/x/sync v0.16.0
17-
helm.sh/helm/v3 v3.18.4
18-
k8s.io/api v0.33.3
19-
k8s.io/apiextensions-apiserver v0.33.3
20-
k8s.io/apimachinery v0.33.3
21-
k8s.io/cli-runtime v0.33.3
22-
k8s.io/client-go v0.33.3
17+
helm.sh/helm/v3 v3.18.5
18+
k8s.io/api v0.33.4
19+
k8s.io/apiextensions-apiserver v0.33.4
20+
k8s.io/apimachinery v0.33.4
21+
k8s.io/cli-runtime v0.33.4
22+
k8s.io/client-go v0.33.4
2323
k8s.io/klog/v2 v2.130.1
24-
k8s.io/kubectl v0.33.3
25-
k8s.io/metrics v0.33.3
24+
k8s.io/kubectl v0.33.4
25+
k8s.io/metrics v0.33.4
2626
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397
2727
sigs.k8s.io/controller-runtime v0.21.0
2828
sigs.k8s.io/controller-runtime/tools/setup-envtest v0.0.0-20250211091558-894df3a7e664
@@ -103,14 +103,12 @@ require (
103103
github.com/rivo/uniseg v0.2.0 // indirect
104104
github.com/rubenv/sql-migrate v1.8.0 // indirect
105105
github.com/russross/blackfriday/v2 v2.1.0 // indirect
106+
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect
106107
github.com/shopspring/decimal v1.4.0 // indirect
107108
github.com/sirupsen/logrus v1.9.3 // indirect
108109
github.com/spf13/cast v1.7.1 // indirect
109110
github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect
110111
github.com/x448/float16 v0.8.4 // indirect
111-
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
112-
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
113-
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
114112
github.com/xlab/treeprint v1.2.0 // indirect
115113
github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
116114
go.yaml.in/yaml/v2 v2.4.2 // indirect
@@ -127,8 +125,8 @@ require (
127125
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
128126
gopkg.in/inf.v0 v0.9.1 // indirect
129127
gopkg.in/yaml.v3 v3.0.1 // indirect
130-
k8s.io/apiserver v0.33.3 // indirect
131-
k8s.io/component-base v0.33.3 // indirect
128+
k8s.io/apiserver v0.33.4 // indirect
129+
k8s.io/component-base v0.33.4 // indirect
132130
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
133131
oras.land/oras-go/v2 v2.6.0 // indirect
134132
sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730 // indirect

go.sum

Lines changed: 24 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ github.com/distribution/distribution/v3 v3.0.0 h1:q4R8wemdRQDClzoNNStftB2ZAfqOiN
6767
github.com/distribution/distribution/v3 v3.0.0/go.mod h1:tRNuFoZsUdyRVegq8xGNeds4KLjwLCRin/tTo6i1DhU=
6868
github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
6969
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
70+
github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI=
71+
github.com/dlclark/regexp2 v1.11.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
7072
github.com/docker/docker-credential-helpers v0.8.2 h1:bX3YxiGzFP5sOXWc3bTPEXdEaZSeVMrFgOr3T+zrFAo=
7173
github.com/docker/docker-credential-helpers v0.8.2/go.mod h1:P3ci7E3lwkZg6XiHdRKft1KckHiO9a2rNtyFbZ/ry9M=
7274
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c h1:+pKlWGMw7gf6bQ+oDZB4KHQFypsfjYlq/C4rfL7D3g8=
@@ -261,6 +263,8 @@ github.com/rubenv/sql-migrate v1.8.0 h1:dXnYiJk9k3wetp7GfQbKJcPHjVJL6YK19tKj8t2N
261263
github.com/rubenv/sql-migrate v1.8.0/go.mod h1:F2bGFBwCU+pnmbtNYDeKvSuvL6lBVtXDXUUv5t+u1qw=
262264
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
263265
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
266+
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 h1:KRzFb2m7YtdldCEkzs6KqmJw4nqEVZGK7IN2kJkjTuQ=
267+
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2/go.mod h1:JXeL+ps8p7/KNMjDQk3TCwPpBy0wYklyWTfbkIzdIFU=
264268
github.com/sergi/go-diff v1.2.0 h1:XU+rvMAioB0UC3q1MFrIQy4Vo5/4VsRDQQXHsEya6xQ=
265269
github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
266270
github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k=
@@ -289,13 +293,6 @@ github.com/wk8/go-ordered-map/v2 v2.1.8 h1:5h/BUHu93oj4gIdvHHHGsScSTMijfx5PeYkE/
289293
github.com/wk8/go-ordered-map/v2 v2.1.8/go.mod h1:5nJHM5DyteebpVlHnWMV0rPz6Zp7+xBAnxjb1X5vnTw=
290294
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
291295
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
292-
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
293-
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb h1:zGWFAtiMcyryUHoUjUJX0/lt1H2+i2Ka2n+D3DImSNo=
294-
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
295-
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0=
296-
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ=
297-
github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17UxZ74=
298-
github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y=
299296
github.com/xlab/treeprint v1.2.0 h1:HzHnuAF1plUN2zGlAFHbSQP2qJ0ZAD3XF5XD7OesXRQ=
300297
github.com/xlab/treeprint v1.2.0/go.mod h1:gj5Gd3gPdKtR1ikdDK6fnFLdmIS0X30kTTuNd/WEJu0=
301298
github.com/yosida95/uritemplate/v3 v3.0.2 h1:Ed3Oyj9yrmi9087+NczuL5BwkIc4wvTb5zIM+UJPGz4=
@@ -429,30 +426,30 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
429426
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
430427
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
431428
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
432-
helm.sh/helm/v3 v3.18.4 h1:pNhnHM3nAmDrxz6/UC+hfjDY4yeDATQCka2/87hkZXQ=
433-
helm.sh/helm/v3 v3.18.4/go.mod h1:WVnwKARAw01iEdjpEkP7Ii1tT1pTPYfM1HsakFKM3LI=
434-
k8s.io/api v0.33.3 h1:SRd5t//hhkI1buzxb288fy2xvjubstenEKL9K51KBI8=
435-
k8s.io/api v0.33.3/go.mod h1:01Y/iLUjNBM3TAvypct7DIj0M0NIZc+PzAHCIo0CYGE=
436-
k8s.io/apiextensions-apiserver v0.33.3 h1:qmOcAHN6DjfD0v9kxL5udB27SRP6SG/MTopmge3MwEs=
437-
k8s.io/apiextensions-apiserver v0.33.3/go.mod h1:oROuctgo27mUsyp9+Obahos6CWcMISSAPzQ77CAQGz8=
438-
k8s.io/apimachinery v0.33.3 h1:4ZSrmNa0c/ZpZJhAgRdcsFcZOw1PQU1bALVQ0B3I5LA=
439-
k8s.io/apimachinery v0.33.3/go.mod h1:BHW0YOu7n22fFv/JkYOEfkUYNRN0fj0BlvMFWA7b+SM=
440-
k8s.io/apiserver v0.33.3 h1:Wv0hGc+QFdMJB4ZSiHrCgN3zL3QRatu56+rpccKC3J4=
441-
k8s.io/apiserver v0.33.3/go.mod h1:05632ifFEe6TxwjdAIrwINHWE2hLwyADFk5mBsQa15E=
442-
k8s.io/cli-runtime v0.33.3 h1:Dgy4vPjNIu8LMJBSvs8W0LcdV0PX/8aGG1DA1W8lklA=
443-
k8s.io/cli-runtime v0.33.3/go.mod h1:yklhLklD4vLS8HNGgC9wGiuHWze4g7x6XQZ+8edsKEo=
444-
k8s.io/client-go v0.33.3 h1:M5AfDnKfYmVJif92ngN532gFqakcGi6RvaOF16efrpA=
445-
k8s.io/client-go v0.33.3/go.mod h1:luqKBQggEf3shbxHY4uVENAxrDISLOarxpTKMiUuujg=
446-
k8s.io/component-base v0.33.3 h1:mlAuyJqyPlKZM7FyaoM/LcunZaaY353RXiOd2+B5tGA=
447-
k8s.io/component-base v0.33.3/go.mod h1:ktBVsBzkI3imDuxYXmVxZ2zxJnYTZ4HAsVj9iF09qp4=
429+
helm.sh/helm/v3 v3.18.5 h1:Cc3Z5vd6kDrZq9wO9KxKLNEickiTho6/H/dBNRVSos4=
430+
helm.sh/helm/v3 v3.18.5/go.mod h1:L/dXDR2r539oPlFP1PJqKAC1CUgqHJDLkxKpDGrWnyg=
431+
k8s.io/api v0.33.4 h1:oTzrFVNPXBjMu0IlpA2eDDIU49jsuEorGHB4cvKupkk=
432+
k8s.io/api v0.33.4/go.mod h1:VHQZ4cuxQ9sCUMESJV5+Fe8bGnqAARZ08tSTdHWfeAc=
433+
k8s.io/apiextensions-apiserver v0.33.4 h1:rtq5SeXiDbXmSwxsF0MLe2Mtv3SwprA6wp+5qh/CrOU=
434+
k8s.io/apiextensions-apiserver v0.33.4/go.mod h1:mWXcZQkQV1GQyxeIjYApuqsn/081hhXPZwZ2URuJeSs=
435+
k8s.io/apimachinery v0.33.4 h1:SOf/JW33TP0eppJMkIgQ+L6atlDiP/090oaX0y9pd9s=
436+
k8s.io/apimachinery v0.33.4/go.mod h1:BHW0YOu7n22fFv/JkYOEfkUYNRN0fj0BlvMFWA7b+SM=
437+
k8s.io/apiserver v0.33.4 h1:6N0TEVA6kASUS3owYDIFJjUH6lgN8ogQmzZvaFFj1/Y=
438+
k8s.io/apiserver v0.33.4/go.mod h1:8ODgXMnOoSPLMUg1aAzMFx+7wTJM+URil+INjbTZCok=
439+
k8s.io/cli-runtime v0.33.4 h1:V8NSxGfh24XzZVhXmIGzsApdBpGq0RQS2u/Fz1GvJwk=
440+
k8s.io/cli-runtime v0.33.4/go.mod h1:V+ilyokfqjT5OI+XE+O515K7jihtr0/uncwoyVqXaIU=
441+
k8s.io/client-go v0.33.4 h1:TNH+CSu8EmXfitntjUPwaKVPN0AYMbc9F1bBS8/ABpw=
442+
k8s.io/client-go v0.33.4/go.mod h1:LsA0+hBG2DPwovjd931L/AoaezMPX9CmBgyVyBZmbCY=
443+
k8s.io/component-base v0.33.4 h1:Jvb/aw/tl3pfgnJ0E0qPuYLT0NwdYs1VXXYQmSuxJGY=
444+
k8s.io/component-base v0.33.4/go.mod h1:567TeSdixWW2Xb1yYUQ7qk5Docp2kNznKL87eygY8Rc=
448445
k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
449446
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
450447
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff h1:/usPimJzUKKu+m+TE36gUyGcf03XZEP0ZIKgKj35LS4=
451448
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff/go.mod h1:5jIi+8yX4RIb8wk3XwBo5Pq2ccx4FP10ohkbSKCZoK8=
452-
k8s.io/kubectl v0.33.3 h1:r/phHvH1iU7gO/l7tTjQk2K01ER7/OAJi8uFHHyWSac=
453-
k8s.io/kubectl v0.33.3/go.mod h1:euj2bG56L6kUGOE/ckZbCoudPwuj4Kud7BR0GzyNiT0=
454-
k8s.io/metrics v0.33.3 h1:9CcqBz15JZfISqwca33gdHS8I6XfsK1vA8WUdEnG70g=
455-
k8s.io/metrics v0.33.3/go.mod h1:Aw+cdg4AYHw0HvUY+lCyq40FOO84awrqvJRTw0cmXDs=
449+
k8s.io/kubectl v0.33.4 h1:nXEI6Vi+oB9hXxoAHyHisXolm/l1qutK3oZQMak4N98=
450+
k8s.io/kubectl v0.33.4/go.mod h1:Xe7P9X4DfILvKmlBsVqUtzktkI56lEj22SJW7cFy6nE=
451+
k8s.io/metrics v0.33.4 h1:eJ6UdTpKTUQVZbKpUdm5ve39aPpAvvNwLrs13oQcWKc=
452+
k8s.io/metrics v0.33.4/go.mod h1:NO/lgFtyIPTurz56debdSh5qRqRfpO8MlkMpau1Ue8U=
456453
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397 h1:hwvWFiBzdWw1FhfY1FooPn3kzWuJ8tmbZBHi4zVsl1Y=
457454
k8s.io/utils v0.0.0-20250604170112-4c0f3b243397/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
458455
oras.land/oras-go/v2 v2.6.0 h1:X4ELRsiGkrbeox69+9tzTu492FMUu7zJQW6eJU+I2oc=

mcp_config.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
log_level = 3
2+
port = "8080"
3+
read_only = false
4+
disable_destructive = false
5+
6+
denied_resources = [
7+
{group = "", version = "v1", kind = "ServiceAccount"},
8+
{group = "", version = "v1", kind = "Secret"},
9+
{group = "rbac.authorization.k8s.io", version = "v1"}
10+
]
11+
12+
disabled_tools = [
13+
"configuration_view",
14+
"helm_install",
15+
"helm_list",
16+
"helm_uninstall",
17+
]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version = 1
2+
3+
test_patterns = [
4+
"*_test.go"
5+
]
6+
7+
[[analyzers]]
8+
name = "go"
9+
enabled = true
10+
11+
[analyzers.meta]
12+
import_path = "dario.cat/mergo"

vendor/dario.cat/mergo/.gitignore

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#### joe made this: http://goel.io/joe
2+
3+
#### go ####
4+
# Binaries for programs and plugins
5+
*.exe
6+
*.dll
7+
*.so
8+
*.dylib
9+
10+
# Test binary, build with `go test -c`
11+
*.test
12+
13+
# Output of the go coverage tool, specifically when used with LiteIDE
14+
*.out
15+
16+
# Golang/Intellij
17+
.idea
18+
19+
# Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736
20+
.glide/
21+
22+
#### vim ####
23+
# Swap
24+
[._]*.s[a-v][a-z]
25+
[._]*.sw[a-p]
26+
[._]s[a-v][a-z]
27+
[._]sw[a-p]
28+
29+
# Session
30+
Session.vim
31+
32+
# Temporary
33+
.netrwhist
34+
*~
35+
# Auto-generated tag files
36+
tags

0 commit comments

Comments
 (0)