-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Bump versions for k8s 1.24 #5843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
everettraven
merged 29 commits into
operator-framework:master
from
asmacdo:2142-bump-k8s124
Jun 10, 2022
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
23ceb3c
Bump versions for k8s 1.24
asmacdo 0cf7b68
updates to resolve test failures
everettraven 1cf485a
update changelog
everettraven 668b932
update sanity go version
everettraven b896866
update to go 1.18
everettraven c86b4f7
updates for golangci-lint
everettraven 5fcb47a
update some go1.18 lint issues
everettraven 20b71e9
commit go.mod
everettraven c192f3c
update more lint problems
everettraven 0b0083c
update java plugin
everettraven 4c9c554
Merge branch 'master' into 2142-bump-k8s124
everettraven cdd2ae2
update go.mod
everettraven b053e48
update actions to use go 1.18
everettraven b7b0924
update changelog
everettraven 3be29e0
update changelog as per review
everettraven 3692d27
update changelog
everettraven 2ff0f7a
update changelog
everettraven 1974fe0
update changelog
everettraven 4ad8f19
update changelog
everettraven e3cca5f
update changelog
everettraven d7cde37
updates to changelog per reviews
everettraven 1ccecca
more changelog
everettraven b30c7a8
address nits
everettraven d3af0c6
update opm
everettraven 7493c7a
update Go in docker images
everettraven 729873c
update go in docs
everettraven 9e71934
add newline to changelog
everettraven 9a5fbdd
add opm detailed entries
everettraven c7bb4f8
fix changelog failure
everettraven File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,169 @@ | ||
# entries is a list of entries to include in | ||
# release notes and/or the migration guide | ||
|
||
# TODO(everettraven): update changelog | ||
entries: | ||
- description: > | ||
For Go (go/v3) and Helm Hybrid (hybrid.helm/v1-alpha) language based operators: Upgrade Kubernetes dependencies from `1.23` to `1.24` and controller-gen from `v0.8.0` to `v0.9.0` | ||
|
||
# kind is one of: | ||
# - addition | ||
# - change | ||
# - deprecation | ||
# - removal | ||
# - bugfix | ||
kind: "change" | ||
|
||
# Is this a breaking change? | ||
breaking: false | ||
|
||
# Migration can be defined to automatically add a section to | ||
# the migration guide. This is required for breaking changes. | ||
migration: | ||
header: Go (go/v3) and Helm Hybrid (hybrid.helm/v1-alpha) language based operators - Upgrade Kubernetes dependencies from `1.23` to `1.24` and controller-gen from `v0.8.0` to `v0.9.0` | ||
body: | | ||
To update your project to support Kubernetes 1.24: | ||
|
||
1. In `go.mod`: | ||
|
||
- Replace `k8s.io/api v0.23.5` with `k8s.io/api v0.24.0` | ||
- Replace `k8s.io/apimachinery v0.23.5` with `k8s.io/apimachinery v0.24.0` | ||
- Replace `k8s.io/client-go v0.23.5` with `k8s.io/client-go v0.24.0` | ||
everettraven marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- Replace `sigs.k8s.io/controller-runtime v0.11.2` with `sigs.k8s.io/controller-runtime v0.12.1` | ||
- Hybrid Helm (hybrid) only: Replace `github.com/operator-framework/helm-operator-plugins v0.0.11` with `github.com/operator-framework/helm-operator-plugins v0.0.12-0.20220608155702-d3967d2ae2ac` | ||
|
||
2. Run `go mod tidy` to ensure all dependencies are upgraded | ||
|
||
3. In `Makefile`: | ||
- Replace `CONTROLLER_TOOLS_VERSION ?= 0.8.0` with `CONTROLLER_TOOLS_VERSION ?= 0.9.0` | ||
everettraven marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- Replace `ENVTEST_K8S_VERSION = 1.23` with `ENVTEST_K8S_VERSION = 1.24` | ||
|
||
4. Run `make` to run all make targets | ||
|
||
- description: > | ||
For Go (go/v3) and Hybrid Helm (hybrid.helm/v1-alpha) language based operators: Add support for Go 1.18 | ||
|
||
# kind is one of: | ||
# - addition | ||
# - change | ||
# - deprecation | ||
# - removal | ||
# - bugfix | ||
kind: "addition" | ||
|
||
# Is this a breaking change? | ||
breaking: false | ||
|
||
# Migration can be defined to automatically add a section to | ||
# the migration guide. This is required for breaking changes. | ||
migration: | ||
header: Go (go/v3) and Hybrid Helm (hybrid.helm/v1-alpha) language based operators - Add support for Go 1.18 | ||
body: | | ||
To update your project to use Go 1.18: | ||
|
||
1. In the `go.mod` file: | ||
|
||
- Replace `go 1.17` with `go 1.18` | ||
|
||
2. Run `go mod tidy` to ensure all dependencies are upgraded | ||
|
||
- description: > | ||
For `operator-sdk bundle validate` command and GoodPractices validator (`--select-optional name=good-practices`): fix channel naming validation [More info](https://github.com/operator-framework/api/pull/231) | ||
|
||
# kind is one of: | ||
# - addition | ||
# - change | ||
# - deprecation | ||
# - removal | ||
# - bugfix | ||
kind: "bugfix" | ||
|
||
# Is this a breaking change? | ||
breaking: false | ||
|
||
- description: > | ||
For `operator-sdk bundle validate` command and GoodPractices validator (`--select-optional name=good-practices`): Add CRD description check validation [More info](https://github.com/operator-framework/api/pull/234) | ||
|
||
# kind is one of: | ||
# - addition | ||
# - change | ||
# - deprecation | ||
# - removal | ||
# - bugfix | ||
kind: "addition" | ||
|
||
# Is this a breaking change? | ||
breaking: false | ||
|
||
- description: > | ||
For `operator-sdk bundle validate` command and GoodPractices validator (`--select-optional name=good-practices`): Add a new check to warn authors when permissions to create CRDs are found [More info](https://github.com/operator-framework/api/pull/241) | ||
|
||
# kind is one of: | ||
# - addition | ||
# - change | ||
# - deprecation | ||
# - removal | ||
# - bugfix | ||
everettraven marked this conversation as resolved.
Show resolved
Hide resolved
|
||
kind: "addition" | ||
everettraven marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# Is this a breaking change? | ||
breaking: false | ||
everettraven marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- description: > | ||
For Helm (helm/v1) and Hybrid Helm (hybrid.helm/v1-alpha) language based operators: Upgrade helm from `v3.6.2` to `v3.9.0` | ||
kind: "change" | ||
breaking: false | ||
|
||
- description: > | ||
For Ansible (ansible/v1) and Helm (helm/v1) language based operators: change the default value for the manager.option LeaderElectionResourceLock from `comfigmaps` to `configmapsleases` to allow a safe transition to use the leases option on the future. [More info](https://github.com/kubernetes-sigs/controller-runtime/pull/1903) | ||
kind: "change" | ||
breaking: false | ||
|
||
- description: > | ||
For Quarkus (quarkus/v1-alpha) language based operator: add bundle generation [More info](https://github.com/operator-framework/java-operator-plugins/pull/84) | ||
kind: "addition" | ||
breaking: false | ||
|
||
- description: > | ||
For Quarkus (quarkus/v1-alpha) language based operator: upgrade dependency from `v0.0.3` to `v0.5.1` [More info](https://github.com/operator-framework/java-operator-plugins/releases) | ||
kind: "change" | ||
breaking: false | ||
|
||
- description: > | ||
For Helm Hybrid (hybrid.helm/v1-alpha) language based operator: Upgrade dependency from `v0.0.10` to `v0.0.11`. [More info](https://github.com/operator-framework/helm-operator-plugins/releases) | ||
kind: "change" | ||
breaking: false | ||
|
||
- description: > | ||
For Go (go/v3, go/v2), Ansible (ansible/v1), Helm (helm/v1), and Helm Hybrid (hybrid.helm/v1-alpha) language based operators: Bump OPM version from `v1.19.1` to `v1.23.0` | ||
camilamacedo86 marked this conversation as resolved.
Show resolved
Hide resolved
everettraven marked this conversation as resolved.
Show resolved
Hide resolved
|
||
kind: "change" | ||
breaking: false | ||
migration: | ||
header: For Go (go/v3, go/v2), Ansible (ansible/v1), Helm (helm/v1), and Helm Hybrid (hybrid.helm/v1-alpha) language based operators - Bump OPM version from `v1.19.1` to `v1.23.0` [More info](https://github.com/operator-framework/operator-registry/releases) | ||
body: | | ||
To update your project to use OPM `v1.23.0`: | ||
|
||
1. In the `Makefile`: | ||
|
||
- Replace `curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.19.1/$${OS}-$${ARCH}-opm` with `curl -sSLo $(OPM) https://github.com/operator-framework/operator-registry/releases/download/v1.23.0/$${OS}-$${ARCH}-opm` | ||
|
||
2. Run `make opm` | ||
- description: > | ||
For Docker images: Bump Go from 1.17 to 1.18 | ||
kind: "change" | ||
breaking: false | ||
|
||
- description: > | ||
Docs: Update Go 1.17 references to Go 1.18 | ||
kind: "change" | ||
breaking: false | ||
|
||
- description: > | ||
For operator-sdk run bundle and bundle-upgrade subcommands: improve message from common scenario faced to add a new bundle [More info](https://github.com/operator-framework/operator-registry/pull/954) | ||
kind: "addition" | ||
breaking: false | ||
|
||
- description: > | ||
For operator-sdk run bundle and bundle-upgrade subcommands: adds some extra text context to sql statement errors [More info](https://github.com/operator-framework/operator-registry/pull/953) | ||
kind: "addition" | ||
breaking: false |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.