Controller runtime update #307
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request type
Please check the type of change your PR introduces:
What is the current behavior?
This PR updates controller-runtime and related dependencies.
Core Dependencies
Kubernetes Libraries
This represents an 8 minor version jump for both controller-runtime (0.14 → 0.22) and Kubernetes libraries (1.26 → 1.34).
Compatibility Notes
Kubernetes compatibility: The operator currently requires Kubernetes 1.20+. This update maintains backward compatibility with the Kubernetes REST API, but the operator binary is now built against Kubernetes 1.34 libraries.
Testing required: Thorough testing is recommended on Kubernetes versions 1.20-1.34 to ensure no breaking changes from deprecated/removed APIs affect the operator's functionality.
Go version: Minimum Go version increased to 1.24 as required by the updated dependencies.
Breaking Changes Risk
Controller-runtime guarantees Kubernetes REST API compatibility, but does not guarantee compatibility matrix between specific kubernetes library versions. While the operator should continue to work with older Kubernetes clusters, testing across the supported version range is strongly recommended.
I ran the e2e tests on kindest/node:v1.20.15 — everything looks good
Issue Number: N/A
What is the new behavior?
Other information