kyma-project / lifecycle-manager

Controller that manages the lifecycle of Kyma Modules in your cluster.
http://kyma-project.io
Apache License 2.0
10 stars 30 forks source link

[ModuleCatalog] Implementation of a Dedicated Controller for Syncing `ModuleTemplate` and `ModuleReleaseMeta` CRs #1851

Open jeremyharisch opened 1 month ago

jeremyharisch commented 1 month ago

Description:

The synchronization process of ModuleTemplate CRs to all SKR clusters is currently embedded within the Kyma reconcile loop. We have decided to expand this functionality to include ModuleReleaseMeta CRs and to relocate these synchronization tasks to a new, dedicated controller. This approach is intended to enhance performance by offloading the sync operations from the main Kyma reconcile loop.

Detailed decision ticket: https://github.com/kyma-project/lifecycle-manager/issues/1815

Current Implementation:

The existing synchronization of ModuleTemplate CRs is integrated into the Kyma reconcile loop, detailed here.

Objective:

Benefits of Separation of Concerns:

Potential Challenges:

Acceptance Criteria:

Tomasz-Smelcerz-SAP commented 4 days ago

I think we need to refine on the AC: "Name of controller: SyncResources". The SyncResources is too generic and vague. I suggest to use just: catalogsync