This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
Upgrade to operator-sdk 0.11.0 and controller-runtime 0.2.0 #369
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.
This was more work than I anticipated. I stepped thru the operator-sdk versions one by one. The first commit gets us to 0.10.0 which was fairly painless. The second commit gets us to 0.11.0. If you're only going to review one of these, review the second one, as that's the more interesting (and also has fewer files to look at, believe it or not). For the most part I followed the operator-sdk upgrade guide and controller-runtime release notes.
First commit:
$GOPATH/pkg/mods
now. TheMakefile
now prefixesgo
commands withGO111MODULE=on
to force module support.Second commit:
kabanero
should be, so there are some additional markers (annotations) in thekabanero_types.go
file to compensate for this.