Skip to content

Registry controller Cleanup #2399

Closed
Closed

Description

@dmartinol

Remove sync logic from operator

  • Remove sync execution code from MCPRegistry controller (keep status update only)
  • Remove cmd/thv-operator/pkg/sources
  • Remove cmd/thv-operator/pkg/sync
  • Remove cmd/thv-operator/pkg/filtering

Update operator integration tests

  • Update tests to verify controller creates config ConfigMap
  • Test controller polls Registry API status endpoint
  • Test manual sync via annotation
  • Test backward compatibility with existing MCPRegistry resources

Update documentation

  • Document new Registry API flags and endpoints
  • Update MCPRegistry CRD examples
  • Add migration guide for users (if any operator upgrade steps needed)

Activity

  1. added
    kubernetes
    on Oct 30, 2025
  2. added
    documentation
    enhancement
    on Oct 30, 2025
  3. ChrisJBurns commented on Nov 19, 2025

    @ChrisJBurns
    Collaborator

    @dmartinol I think this is mostly done, I believe I've just got the status stuff to do. Not sure what we want to do with the sync as you mentioned that we should keep the manual sync

  4. dmartinol commented on Nov 20, 2025

    @dmartinol
    ContributorAuthor

    @dmartinol I think this is mostly done, I believe I've just got the status stuff to do. Not sure what we want to do with the sync as you mentioned that we should keep the manual sync

    I see that sync package is still there, while we should expect to wipe it out almost entirely. Can you check why it's still there?
    The only thing we should need is the manual sync logic that anyway has its own #2398
    Also, I would remove commented integration tests if these flows do not apply anymore to the operator.
    Thanks!

  5. ChrisJBurns commented on Nov 22, 2025

    @ChrisJBurns
    Collaborator

    @dmartinol I believe this is done now. The 3 major packages have been removed. The integration tests have been updated, I've crossed out the status endpoints and manual sync because i don't believe they are in MVP

  6. rdimitrov commented on Dec 8, 2025

    @rdimitrov
    Member

    Closing as completed. If there's something left let's reopen another ticket and ping us on discord/during standups

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

    documentationenhancementkubernetesoperatorregistry

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions