Skip to content

Conversation

ruanxin
Copy link
Contributor

@ruanxin ruanxin commented Sep 8, 2025

Description

  • Introduced a new service kymaService in the Reconciler to handle label and finalizer logic.
  • Updated the EnsureLabelsAndFinalizers method to be part of the new service.
  • Adjusted the Reconcile method to call the new service for label and finalizer updates.
  • Added a new file for the kymaService implementation.

Update test files to use the new API scheme

  • Replaced direct calls to v1beta2.AddToScheme with api.AddToScheme in multiple test files.
  • Ensured consistency across tests by using the new API scheme management.

Refactor imports in various test files

  • Removed unnecessary imports of the old API package and replaced them with the new unified API package.
  • Cleaned up import statements across multiple test files for better organization and clarity.

Related issue(s)

… finalizer management

- Introduced a new service `kymaService` in the Reconciler to handle label and finalizer logic.
- Updated the `EnsureLabelsAndFinalizers` method to be part of the new service.
- Adjusted the Reconcile method to call the new service for label and finalizer updates.
- Added a new file for the `kymaService` implementation.

Update test files to use the new API scheme

- Replaced direct calls to `v1beta2.AddToScheme` with `api.AddToScheme` in multiple test files.
- Ensured consistency across tests by using the new API scheme management.

Refactor imports in various test files

- Removed unnecessary imports of the old API package and replaced them with the new unified API package.
- Cleaned up import statements across multiple test files for better organization and clarity.
@ruanxin ruanxin requested a review from a team as a code owner September 8, 2025 17:01
@ruanxin ruanxin changed the title chore: decouple controller runtime from api go module chore: Decouple controller runtime from api go module Sep 8, 2025
Copy link

github-actions bot commented Sep 9, 2025

Manifests created with 'make dry-run-control-plane' changed! Please make sure to check if changes are needed in related repositories like management-plane-charts, runtime-watcher, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant