Skip to content

Drop API controller-runtime dependency - #1078

Merged
stefanprodan merged 1 commit into
mainfrom
drop-controller-runtime-api
Jul 28, 2026
Merged

Drop API controller-runtime dependency#1078
stefanprodan merged 1 commit into
mainfrom
drop-controller-runtime-api

Conversation

@matheuscscp

Copy link
Copy Markdown
Member

Remove the API module dependency on controller-runtime by using runtime.NewSchemeBuilder and explicit API type registration.

Bump source-controller/api to the merged API cleanup commit so controller-runtime is not pulled transitively.

Verification:

  • make api-docs manifests generate
  • go test ./... in api

Replace controller-runtime's scheme builder with runtime.SchemeBuilder in the API module. This removes the controller-runtime dependency while keeping the registered API types unchanged.

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
Assisted-by: Codex/GPT-5
@matheuscscp
matheuscscp force-pushed the drop-controller-runtime-api branch from c568da8 to ce214a4 Compare July 28, 2026 15:13
@stefanprodan
stefanprodan merged commit 878224e into main Jul 28, 2026
5 checks passed
@stefanprodan
stefanprodan deleted the drop-controller-runtime-api branch July 28, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants