Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion internal/controller/ocpmcp/assets.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ const configTOML = `# Denied resources prevent the MCP server from accessing the
# User-brought MCP servers (spec.mcpServers) are the user's responsibility to secure.
# Toolsets are pinned explicitly so upstream default changes do not affect OLS.

toolsets = ["core", "config", "helm", "metrics"]
toolsets = ["core", "config", "helm", "metrics", "kubevirt"]
experimental_enable_target_compatibility_tool_filters = true

[[denied_resources]]
group = ""
Expand Down
3 changes: 2 additions & 1 deletion internal/controller/ocpmcp/assets_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ var _ = Describe("OpenShift MCP Server assets", func() {
Expect(cm.Labels).To(Equal(labels))

toml := cm.Data[utils.OpenShiftMCPServerConfigFilename]
Expect(toml).To(ContainSubstring(`toolsets = ["core", "config", "helm", "metrics"]`))
Expect(toml).To(ContainSubstring(`toolsets = ["core", "config", "helm", "metrics", "kubevirt"]`))
Expect(toml).To(ContainSubstring(`experimental_enable_target_compatibility_tool_filters = true`))
Expect(toml).To(ContainSubstring(`kind = "Secret"`))
Expect(toml).To(ContainSubstring(`group = ""`))
Expect(toml).To(ContainSubstring(`group = "rbac.authorization.k8s.io"`))
Expand Down