Skip to content

[ray-operator] Migrate from deprecated scheme.Builder to runtime.NewSchemeBuilder#4801

Open
marosset wants to merge 2 commits into
ray-project:masterfrom
marosset:update-to-runtime-newschemebuilder
Open

[ray-operator] Migrate from deprecated scheme.Builder to runtime.NewSchemeBuilder#4801
marosset wants to merge 2 commits into
ray-project:masterfrom
marosset:update-to-runtime-newschemebuilder

Conversation

@marosset
Copy link
Copy Markdown
Contributor

@marosset marosset commented May 5, 2026

Why are these changes needed?

scheme.Builder used for registering API types is deprecated and this PR updates to NewSchemeBuilder

This PR follows patterns at https://github.com/kubernetes-sigs/controller-runtime/blob/main/pkg/scheme/scheme.go for building API schemes and removes the linter suppression for using the now deprecated scheme.Builder

Related issue number

Fixes #4730

Checks

  • I've made sure the tests are passing.
  • Testing Strategy
    • Unit tests
    • Manual tests
    • This PR is not tested :(

…chemeBuilder

Signed-off-by: Mark Rossetti <marosset@microsoft.com>
@marosset
Copy link
Copy Markdown
Contributor Author

@Future-Outlier Could you take a look at this when you get a chance? Thanks!

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.

Migrate from deprecated scheme.Builder to runtime.NewSchemeBuilder

3 participants