Update OperatorSDK (1.27.0 -> 1.31.0) and Kubebuilder (go/v3 -> go/v4) #18
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.
Work very much in progress.
This merge requests aims at updating Operator SDK, following the version-by-version guidelines documented here : https://sdk.operatorframework.io/docs/upgrading-sdk-version/v1.31.0/ ; this probably encompasses several PRs made by renovate, but they should (... I think ?) come as a coherent bundle "approved" by Operator SDK, instead of isolated PRs.
A first step was done with 5661ada ; this implemented the changes documented in aforementioned website starting from 1.28.0 all the way to 1.31.0 included, safe for two things :
go/v3
being deprecated by kubebuilder. As such, we should aim to migrate togo/v4
(or maybego/v4alpha
, unsure about this), probably following this documentation : https://book.kubebuilder.io/migration/manually_migration_guide_gov3_to_gov4.htmlFor future reference, the actual release notes on the Operator SDK Github repo (https://github.com/operator-framework/operator-sdk/releases) appear to be of much better quality than the upgrade documentation on their website. For instance, the upgrade documentation for 1.30.0 appears to be a copy-pasted placeholder, while there are in fact a few actual changes visible in the 1.30.0 release note.