-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(chore): bump k8s and kubebuilder (#6613)
* wip: bump k8s and kubebuilder Signed-off-by: Bryce Palmer <bpalmer@redhat.com> * bump k8s in makefile Signed-off-by: Bryce Palmer <bpalmer@redhat.com> * comment ansible dep to progress further Signed-off-by: Bryce Palmer <everettraven@gmail.com> * bump ansible plugin version, regenerate testdata Signed-off-by: everettraven <everettraven@gmail.com> * go mod tidy after rebase Signed-off-by: everettraven <everettraven@gmail.com> * fix operator-sdk olm install by making it use a proper HTTP client for building the kubernetes client, ensuring OLM apis are added to the scheme.Scheme used with the kubernetes client, and splitting CRD and resource checks and installation into distinct steps. This ensures CRDs are installed and ready prior to the creation of associated CRs. Signed-off-by: everettraven <everettraven@gmail.com> * update olm bindata + fix lint errors Signed-off-by: everettraven <everettraven@gmail.com> * bump olm version for e2e Signed-off-by: everettraven <everettraven@gmail.com> * olm install - attempt to create resources until context is canceled which will typically occur when the specified timeout has been reached Signed-off-by: everettraven <everettraven@gmail.com> * fix failing unit test Signed-off-by: everettraven <everettraven@gmail.com> * add a changelog Signed-off-by: everettraven <everettraven@gmail.com> * address review comments Signed-off-by: everettraven <everettraven@gmail.com> * update go e2e to use go/v4 testdata Signed-off-by: everettraven <everettraven@gmail.com> * update sample e2e and integration tests to use go/v4 testdata Signed-off-by: everettraven <everettraven@gmail.com> --------- Signed-off-by: Bryce Palmer <bpalmer@redhat.com> Signed-off-by: Bryce Palmer <everettraven@gmail.com> Signed-off-by: everettraven <everettraven@gmail.com>
- Loading branch information
1 parent
e001847
commit 96f3198
Showing
218 changed files
with
1,675 additions
and
2,519 deletions.
There are no files selected for viewing
This file contains 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 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,52 @@ | ||
# entries is a list of entries to include in | ||
# release notes and/or the migration guide | ||
entries: | ||
- description: > | ||
Bump supported Kubernetes version to 1.27 | ||
kind: "change" | ||
breaking: false | ||
- description: > | ||
(helm/v1): Deprecate the `--config` flag due to the controller-runtime ComponentConfig | ||
package being deprecated with the planned removal of support for loading manager options | ||
from a file | ||
kind: "deprecation" | ||
breaking: false | ||
- description: > | ||
(go/v4-alpha): go/v4 is now stable and is the default version | ||
used when scaffolding a Go based operator | ||
kind: "change" | ||
breaking: true | ||
migration: | ||
header: (go/v4-alpha) Move go/v4 plugin from alpha to stable | ||
body: | | ||
The transition from Golang v2 and v3 plugins to the new Golang v4 plugin introduces significant changes. | ||
To gain insights into the reasoning behind these changes, you can refer to the explanation provided | ||
at https://book.kubebuilder.io/migration/v3vsv4#tldr-of-the-new-gov4-plugin. | ||
For a comprehensive understanding of the migration process to the v4 plugin format, | ||
the Kubebuilder documentation outlines the necessary steps. Detailed instructions | ||
can be found at https://book.kubebuilder.io/migration/manually_migration_guide_gov3_to_gov4. | ||
This migration is designed to enhance your project's functionality and compatibility, | ||
reflecting the evolving landscape of Golang development. | ||
- description: > | ||
(kustomize/v2-alpha): kustomize/v2 is now stable and is the default version | ||
used in the plugin chain when using go/v4, ansible/v1, helm/v1, and hybrid/v1-alpha plugins | ||
kind: "change" | ||
breaking: true | ||
migration: | ||
header: (kustomize/v2-alpha) Move kustomize/v2 plugin from alpha to stable | ||
body: | | ||
For more information on the kustomize/v2 plugin, please refer to the documentation at | ||
https://book.kubebuilder.io/plugins/kustomize-v2 | ||
- description: > | ||
`operator-sdk olm install`: fix a bug where the retry logic would not | ||
retry until the the command's timeout was reached, resulting in early exiting | ||
of the command before the specified timeout was reached. | ||
kind: "bugfix" | ||
breaking: false | ||
- description: > | ||
Updated the supported OLM versions to 0.24.0, 0.25.0, and 0.26.0 | ||
kind: "change" | ||
breaking: false | ||
This file contains 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
Oops, something went wrong.