Repository navigation
add feature flags to enable/disable controller groups - #3093
Merged
Merged
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3093 +/- ##
==========================================
- Coverage 57.21% 57.16% -0.05%
==========================================
Files 341 341
Lines 34089 34145 +56
==========================================
+ Hits 19503 19519 +16
- Misses 12972 13019 +47
+ Partials 1614 1607 -7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
yrobla
reviewed
Dec 22, 2025
yrobla
reviewed
Dec 22, 2025
yrobla
left a comment
Contributor
There was a problem hiding this comment.
added a comment
also, it's missing tests and documentation
yrobla
previously approved these changes
Dec 23, 2025
yrobla
reviewed
Jan 2, 2026
yrobla
approved these changes
Jan 5, 2026
ChrisJBurns
added a commit
that referenced
this pull request
May 14, 2026
The ENABLE_SERVER / ENABLE_REGISTRY / ENABLE_VMCP env vars added in #3093 let chart consumers selectively start controller groups. We have no remaining use case for partial controller installs — the chart now ships all CRDs together, and the operator should match. - Drop feature flag constants, dependency map, and isFeatureEnabled helper from main.go; setupControllersAndWebhooks now calls each setup helper unconditionally. - Delete main_test.go (only tested the removed helper). - Drop operator.features.{server,registry,virtualMCP} from values.yaml and the corresponding ENABLE_* env vars from the Deployment template. - Regenerate operator chart README via helm-docs. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
4 tasks done
ChrisJBurns
added a commit
that referenced
this pull request
May 14, 2026
…5281) * Use external helm-crd-wrapper for operator CRD chart Replace the in-repo crd-helm-wrapper Go program with the external stacklok/helm-crd-wrapper binary. The external tool intentionally does not support per-CRD feature gating, so the chart now exposes a single crds.install boolean instead of per-component flags (crds.install.server / .registry / .virtualMcp). Pinned to commit a736420b — no tagged release exists yet; swap for a tag when one is cut. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * Remove controller feature flag gating from operator The ENABLE_SERVER / ENABLE_REGISTRY / ENABLE_VMCP env vars added in #3093 let chart consumers selectively start controller groups. We have no remaining use case for partial controller installs — the chart now ships all CRDs together, and the operator should match. - Drop feature flag constants, dependency map, and isFeatureEnabled helper from main.go; setupControllersAndWebhooks now calls each setup helper unconditionally. - Delete main_test.go (only tested the removed helper). - Drop operator.features.{server,registry,virtualMCP} from values.yaml and the corresponding ENABLE_* env vars from the Deployment template. - Regenerate operator chart README via helm-docs. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds operator-side feature flags to complement the CRD installation flags from #2809, allowing users to conditionally enable/disable controller groups at runtime.
Changes
ENABLE_SERVER,ENABLE_REGISTRY,ENABLE_VMCPenvironment variables inmain.gosetupControllersAndWebhooksto conditionally start controllers based on flagsoperator.features.server/registry/virtualMCP)Usage
Skip Virtual MCP controllers (matches
crds.install.virtualMcp=false):helm install operator ... --set operator.features.virtualMCP=false
Related
Complements #2809 (CRD installation feature flags)