Skip to content

Provide feature flags for enabling/disabling controllers #2564

Closed

Description

@jhrozek

Depends on #2556

The current version of toolhive operator is a monolith that consists of many controllers for quite a few CRDs. To support more targeted deployments, we should provide feature flags that let a user enable or disable controllers.

We proposed the following split to enable the CRDs and controller by the logical functions:

FLAG Affected CRDs Affected controllers Dependencies
ENABLE_SERVER MCPServer, MCPExternalAuthConfig MCPRemoteProxyReconciler, ToolConfigReconciler MCPServerReconciler, MCPExternalAuthConfigReconciler, MCPRemoteProxyReconciler, ToolConfigReconciler
ENABLE_REGISTRY MCPRegistry MCPRegistryReconciler
ENABLE_AGGREGATION VirtualMCPServer, MCPGroup VirtualMCPServerReconciler, MCPGroupReconciler ENABLE_SERVER

E.g., to enable server management the ENABLE_SERVER must be set to true.

Activity

  1. added
    enhancement
    kubernetes
    on Nov 13, 2025
  2. ChrisJBurns commented on Jan 20, 2026

    @ChrisJBurns
    Collaborator

    @jhrozek I think this has been done now?

  3. jhrozek commented on Jan 21, 2026

    @jhrozek
    ContributorAuthor

    yes, in #3093 - let's close

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementkubernetesoperator

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions