You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add separate sync and API status fields to MCPRegistry
- Add SyncStatus and APIStatus structs with dedicated phase enums
- Implement phase derivation logic treating SyncPhaseIdle as valid for Ready state
- Update status collector to handle nested status fields with batched updates
- Fix infinite reconciliation loops by making sync manager status-aware
- Add conditional status updates to prevent unnecessary Kubernetes API calls
- Include comprehensive test suite covering all phase derivation scenarios
- Maintain backward compatibility with deprecated top-level sync fields
- Update printer columns to show separate sync and API phases
🤖 Generated with [Claude Code](https://claude.ai/code)
Signed-off-by: Daniele Martinoli <[email protected]>
Co-authored-by: Claude <[email protected]>
* Remove deprecated fields from MCPRegistryStatus and update sync manager to use new SyncStatus structure
- Removed deprecated fields: LastSyncTime, LastSyncHash, and ServerCount from MCPRegistryStatus for cleaner API.
- Updated the sync manager to return a new Result struct containing sync details.
- Adjusted status collector and controller logic to utilize the new SyncStatus fields.
- Ensured backward compatibility by removing deprecated fields from CRD definitions.
This change enhances the clarity of the MCPRegistry status management and aligns with the recent restructuring of status fields.
Signed-off-by: Daniele Martinoli <[email protected]>
* Refactor sync manager and deployment template
- Removed commented-out success reason constants from the sync manager for clarity.
- Cleaned up deployment.yaml by removing unnecessary conditional blocks.
These changes streamline the codebase and improve readability.
Signed-off-by: Daniele Martinoli <[email protected]>
* Fix formatting in deployment.yaml by adding a newline at the end of the file for consistency.
Signed-off-by: Daniele Martinoli <[email protected]>
* Fix formatting in deployment.yaml by adding a newline at the end of the file for consistency.
Signed-off-by: Daniele Martinoli <[email protected]>
* Fix formatting in deployment.yaml by removing an unnecessary newline at the end of the file for consistency.
Signed-off-by: Daniele Martinoli <[email protected]>
* Fix formatting in deployment.yaml by ensuring consistent indentation and removing an unnecessary newline at the end of the file.
Signed-off-by: Daniele Martinoli <[email protected]>
* chrt version bump and updated CRD docs
Signed-off-by: Daniele Martinoli <[email protected]>
* increase test coverage
Signed-off-by: Daniele Martinoli <[email protected]>
* nil check
Signed-off-by: Daniele Martinoli <[email protected]>
* removed duplicate APIEndpoint
Signed-off-by: Daniele Martinoli <[email protected]>
* removing duplicated code
Signed-off-by: Daniele Martinoli <[email protected]>
---------
Signed-off-by: Daniele Martinoli <[email protected]>
Co-authored-by: Claude <[email protected]>
0 commit comments