Skip to content

Add optional installation flag for Virtual MCP CRDs in operator-crds Helm chart #2709

Closed

Description

@JAORMX

Summary

The toolhive-operator-crds Helm chart currently installs all CRDs including Virtual MCP CRDs by default. Users who only need core MCP server management (without Virtual MCP aggregation features) should be able to skip installing these CRDs.

Background

Virtual MCP CRDs (54KB total):

  • VirtualMCPServer - Aggregates multiple backend MCP servers into unified endpoint
  • VirtualMCPCompositeToolDefinition - Defines reusable composite workflows

Core CRDs (96KB total):

  • MCPServer, MCPRegistry, MCPGroup, MCPRemoteProxy, MCPExternalAuthConfig, MCPToolConfig

Currently all 8 CRDs are always installed from deploy/charts/operator-crds/crds/ with no configuration options.

Proposed Solution

Add a Helm value to make Virtual MCP CRDs optional:

# values.yaml
crds:
  install:
    virtualMCP: true  # default false

Related Files

  • deploy/charts/operator-crds/crds/toolhive.stacklok.dev_virtualmcpservers.yaml
  • deploy/charts/operator-crds/crds/toolhive.stacklok.dev_virtualmcpcompositetooldefinitions.yaml
  • deploy/charts/operator-crds/values.yaml (currently empty)
  • cmd/thv-operator/main.go (controller registration at lines 184-199)

Activity

  1. added
    enhancement
    kubernetes
    on Nov 24, 2025
  2. jhrozek commented on Nov 24, 2025

    @jhrozek
    Contributor

    See also: #2564

  3. self-assigned this
    on Nov 25, 2025
  4. ChrisJBurns commented on Jan 20, 2026

    @ChrisJBurns
    Collaborator

    @jhrozek @amirejaz @JAORMX I believe this has been done now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementkubernetesoperator

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions