Repository navigation
removes MCPRegistry datasources from Operator - #2568
Merged
Merged
Conversation
as part of the moving of code from the operator to the registry api, the storage configmap will be refactored later on into mounting the registry json ONLY if it's specified as a configmap. Signed-off-by: ChrisJBurns <[email protected]>
Signed-off-by: ChrisJBurns <[email protected]>
Signed-off-by: ChrisJBurns <[email protected]>
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2568 +/- ##
==========================================
- Coverage 55.95% 54.70% -1.25%
==========================================
Files 316 304 -12
Lines 29766 28746 -1020
==========================================
- Hits 16655 15726 -929
+ Misses 11652 11616 -36
+ Partials 1459 1404 -55 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: ChrisJBurns <[email protected]>
ChrisJBurns
marked this pull request as ready for review
November 13, 2025 15:11
I've had to modify some existing code in order to satisfy lint and tests. some of this will get put back in a later PR Signed-off-by: ChrisJBurns <[email protected]>
Signed-off-by: ChrisJBurns <[email protected]>
dmartinol
reviewed
Nov 13, 2025
dmartinol
reviewed
Nov 13, 2025
dmartinol
approved these changes
Nov 13, 2025
ChrisJBurns
added a commit
that referenced
this pull request
Apr 13, 2026
The enforceServers feature and its image validation code have been broken since PR #2568 removed the data sources from the operator. The {name}-registry-storage ConfigMap that image validation reads from is never created — nothing populates it. As a result, enforceServers has silently done nothing: the ConfigMap lookup returns NotFound and checkImageInRegistry returns false for every check. Remove the entire feature rather than attempting to fix it: - Remove EnforceServers field from MCPRegistrySpec CRD - Remove GetStorageName() helper (dead since sources removal) - Delete image_validation.go and its tests - Remove image validation call sites from MCPServer and EmbeddingServer controllers - Remove ConditionImageValidated and related status constants - Remove getConfigMapName from registryapi - Delete the enforcing example - Regenerate CRD manifests Fixes #4717 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
This was referenced Apr 13, 2026
ChrisJBurns
added a commit
that referenced
this pull request
Apr 13, 2026
The enforceServers feature and its image validation code have been broken since PR #2568 removed the data sources from the operator. The {name}-registry-storage ConfigMap that image validation reads from is never created — nothing populates it. As a result, enforceServers has silently done nothing: the ConfigMap lookup returns NotFound and checkImageInRegistry returns false for every check. Remove the entire feature rather than attempting to fix it: - Remove EnforceServers field from MCPRegistrySpec CRD - Remove GetStorageName() helper (dead since sources removal) - Delete image_validation.go and its tests - Remove image validation call sites from MCPServer and EmbeddingServer controllers - Remove ConditionImageValidated and related status constants - Remove getConfigMapName from registryapi - Delete the enforcing example - Regenerate CRD manifests Fixes #4717 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
ChrisJBurns
added a commit
that referenced
this pull request
Apr 13, 2026
* Remove enforceServers and image validation from MCPRegistry The enforceServers feature and its image validation code have been broken since PR #2568 removed the data sources from the operator. The {name}-registry-storage ConfigMap that image validation reads from is never created — nothing populates it. As a result, enforceServers has silently done nothing: the ConfigMap lookup returns NotFound and checkImageInRegistry returns false for every check. Remove the entire feature rather than attempting to fix it: - Remove EnforceServers field from MCPRegistrySpec CRD - Remove GetStorageName() helper (dead since sources removal) - Delete image_validation.go and its tests - Remove image validation call sites from MCPServer and EmbeddingServer controllers - Remove ConditionImageValidated and related status constants - Remove getConfigMapName from registryapi - Delete the enforcing example - Regenerate CRD manifests Fixes #4717 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * Remove enforceServers references from documentation Update REGISTRY.md, architecture docs, and regenerate CRD API docs to remove all references to the removed enforceServers feature and the stale registry-storage ConfigMap. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * Address PR review feedback - Remove stale image validation troubleshooting from REGISTRY.md - Remove stale image validation log reference from REGISTRY.md Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> * Address PR review feedback - Remove "Provides image validation" from README.md feature list - Replace fictional syncStatus/apiStatus status fields in REGISTRY.md with actual MCPRegistryStatus fields (phase, message, url, readyReplicas, conditions) - Fix stale jsonpath examples in troubleshooting section Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 4.6 (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.
The datasources code has been moved into the registry api. This PR removes the data sources code from the Operator.
There next PR is to remove the sync capability. In this PR I have also disabled an integration test because currently the Operator doesn't pass in the relevant flags to the registry api that results in a healthy deployment - therefore causing the assertions to fail. This will be fixed in a later PR where we add this functionality back with the new registry server flags.
Ref: #2399