-
Notifications
You must be signed in to change notification settings - Fork 1.8k
wip: work on bumping KB #6514
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
Closed
varshaprasad96
wants to merge
17
commits into
operator-framework:master
from
varshaprasad96:bump/k8s-1.27
Closed
wip: work on bumping KB #6514
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
4a13e17
[Fix] Bumping versions of KB, C_R and other deps
varshaprasad96 8c14bf6
[fix] Fix olm and helm source code to use latest changes
varshaprasad96 de7d5e6
[fix] Fix dependency versions and ansible handler unit tests
varshaprasad96 e42db41
[fix] Fix breaking ansible changes
varshaprasad96 360e286
[lint] Fix linters
varshaprasad96 5b5eb0a
[add] Generate testdata and include changelog
varshaprasad96 e05d7ca
[bump] Bump go version to 1.20
varshaprasad96 f7fc8d7
[Fix]: fix OLM install and default plugins
varshaprasad96 fcc10c8
[Fix] fix go versions in CI and sanity tests
varshaprasad96 04549ed
Fix scorecard test failures
Neo2308 ab1ef41
Merge pull request #203 from Neo2308/feature/fix-scorecard-deprecatio…
varshaprasad96 99d136b
Fix sanity test failure
Neo2308 8d4c16f
Fix unit test failure
Neo2308 44e7380
Fixing flaky test
Neo2308 b38b849
Merge pull request #204 from Neo2308/feature/fix-unit-tests
varshaprasad96 172b7e6
removing packagemanifest tests
acornett21 d573720
Merge pull request #205 from acornett21/bump/k8s-1.27
varshaprasad96 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
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,108 @@ | ||
# entries is a list of entries to include in | ||
# release notes and/or the migration guide | ||
entries: | ||
- description: > | ||
- (go/v4-alpha) Bump go/v4 plugin from alpha to stable. | ||
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: > | ||
- (go/v3) Deprecate go/v3 plugin in support of go/v4. Refer `https://book.kubebuilder.io/migration/v3vsv4` for more details. | ||
kind: "deprecation" | ||
breaking: false | ||
|
||
- description: > | ||
- (go/v2) Deprecate go/v2 plugin in support of go/v4. | ||
kind: "deprecation" | ||
breaking: false | ||
|
||
- description: > | ||
- (go/v4) Bump Kubernetes dependencies to 1.27. | ||
kind: "change" | ||
breaking: true | ||
migration: | ||
header: (go/v4) Bump Kubernetes dependencies to 1.27 | ||
body: | | ||
Bump the versions of controller-runtime, ginko. gomega and kubernetes dependencies to k8s 1.27 supported | ||
versions. After migrating to the stable version in go/v4, ensure that the `go.mod` file looks as below: | ||
``` | ||
github.com/onsi/ginkgo/v2 v2.9.5 | ||
github.com/onsi/gomega v1.27.7 | ||
k8s.io/api v0.27.2 | ||
k8s.io/apimachinery v0.27.2 | ||
k8s.io/client-go v0.27.2 | ||
sigs.k8s.io/controller-runtime v0.15.0 ``` | ||
|
||
- description: > | ||
- (ansible/v1, helm/v1) Remove multi-arch and node affinity patch from manager configurations. | ||
kind: "change" | ||
breaking: true | ||
migration: | ||
header: (ansible/v1, helm/v1) Remove multi-arch and node affinity patch from manager configurations. | ||
body: | | ||
Multi-arch and node affinity configurations have been removed from the following files: | ||
1. `config/default/manager_auth_proxy_path.yaml`. | ||
2. If there is an OLM bundle in the project: `bundle/manifests/*.clusterserviceversion.yaml` | ||
|
||
Remove the following from the `spec` section of the above mentioned files: | ||
``` | ||
affinity: | ||
nodeAffinity: | ||
requiredDuringSchedulingIgnoredDuringExecution: | ||
nodeSelectorTerms: | ||
- matchExpressions: | ||
- key: kubernetes.io/arch | ||
operator: In | ||
values: | ||
- amd64 | ||
- arm64 | ||
- ppc64le | ||
- s390x | ||
- key: kubernetes.io/os | ||
operator: In | ||
values: | ||
- linux | ||
``` | ||
- description: > | ||
- (ansible/v1, helm/v1) Bump kube-rbac-proxy version from `0.13.1` to `0.14.1` | ||
kind: "change" | ||
breaking: true | ||
migration: | ||
header: (ansible/v1, helm/v1) Bump kube-rbac-proxy version | ||
body: | | ||
Bump the version of kube-rbac-proxy from `0.13.1` to `0.14.1`. In | ||
`config/default/manager_auth_proxy_path.yaml`, ensure that `gcr.io/kubebuilder/kube-rbac-proxy` | ||
has the right version: | ||
|
||
``` | ||
image: gcr.io/kubebuilder/kube-rbac-proxy:v0.14.1 | ||
``` | ||
- description: > | ||
- (ansible/v1, helm/v1) Use kustomize version `v5.0.1` in projects. | ||
kind: "change" | ||
breaking: true | ||
migration: | ||
header: (ansible/v1, helm/v1) Use kustomize version `v5.0.1` | ||
body: | | ||
In `Makefile` replace the version in kustomize target. Replace: | ||
``` | ||
curl -sSLo - https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v5.0.1/kustomize_v4.5.7_$(OS)_$(ARCH).tar.gz | | ||
``` | ||
|
||
with | ||
``` | ||
curl -sSLo - https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v5.0.1/kustomize_v5.0.1_$(OS)_$(ARCH).tar.gz | | ||
``` |
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.