-
Notifications
You must be signed in to change notification settings - Fork 71
Bug 2094303: fix(vendor/scoped): bump k8s version to 1.24, go version to 1.18 and fix scoped client (#2794) #316
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
Conversation
@dinhxuanvu: This pull request references Bugzilla bug 2094303, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
Requesting review from QA contact: In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/label approved |
It looks like we might need to bump the Go version in the root module. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dinhxuanvu, timflannagan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
38a623e
to
ea67d8f
Compare
/label qe-approved |
Signed-off-by: perdasilva <[email protected]>
- Updates tests to use common Kube and Runtime clients generated at startup time rather than having them re-generated in each test at runtime. - Closes #2570 Signed-off-by: Noah Sapse <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: c610a3eb2f221a2cac8563b68aa4f98e61f888cc
…fix scoped client (#2794) * fix(vendor): bump k8s version to 1.24 and go version to 1.18 Signed-off-by: Vu Dinh <[email protected]> * Update clock package from apimachinery to utils The apimachinery/pkg/util/clock is deprecated and all clock utils is on k8s.io/utils/clock repo instead. Signed-off-by: Vu Dinh <[email protected]> * fix(go.mod): pin opentelemetry packages into specific versions Signed-off-by: Vu Dinh <[email protected]> Co-authored-by: timflannagan <[email protected]> * fix(scoped): update scoped client library to handle token secret In k8s 1.24, token secret is no longer referenced in ServiceAccount. By listing all secrets in the namespace and then filter them with SA name via kubernetes.io/service-account.name annotation, the token secret can be retrieved successfully. Signed-off-by: Vu Dinh <[email protected]> * fix(e2e): Fix several RBAC-related e2e test cases Create token secret for ServiceAccount to ensure those SA is valid for scoped client use. Signed-off-by: Vu Dinh <[email protected]> Upstream-repository: operator-lifecycle-manager Upstream-commit: fd9017345aa0fbd7aaed7f0937ff23fca33a9df0 Co-authored-by: timflannagan <[email protected]>
* bump k8s deps to 1.24 and go version to 1.18 Signed-off-by: Bryce Palmer <[email protected]> * revert Go 1.18 bump Signed-off-by: Bryce Palmer <[email protected]> * revert go 1.18 in workflows Signed-off-by: Bryce Palmer <[email protected]> Upstream-repository: api Upstream-commit: 725ffcedf4774ea71acd9d4a5abfc0f93d1968ed
* changes to bump to k8s 1.24 Signed-off-by: Bryce Palmer <[email protected]> * changes to bump to k8s 1.24 Signed-off-by: Bryce Palmer <[email protected]> * update prometheus CRDs to have preserveUnknownFields: false Signed-off-by: Bryce Palmer <[email protected]> Upstream-repository: operator-registry Upstream-commit: 043db4f20c13db8535f6991dd9afd590e7427228
Signed-off-by: Jordan Keister <[email protected]> Upstream-repository: operator-registry Upstream-commit: 0899512627ff2fbf6f65e213f0358429959d8963
…lakiness (openshift#245) * Revert "fix removed_apis_test" This reverts commit beb9613e0dc43e74ddcc583dfca3e59dd19c2660. * refactor removed_apis_test to test on sorted error strings to remove flakiness Signed-off-by: perdasilva <[email protected]> Upstream-repository: api Upstream-commit: cb9dc0ee2c6a5c31e04ce1ab0c2eee72d9125ffb Signed-off-by: perdasilva <[email protected]>
@dinhxuanvu: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
/lgtm |
/label lgtm |
/lgtm |
@perdasilva: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@dinhxuanvu: All pull requests linked via external trackers have merged: Bugzilla bug 2094303 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Upstream-repository: api Upstream-commit: bdb0455258b952da961e4d2d97b6214a974e0554
Signed-off-by: Vu Dinh [email protected]
The apimachinery/pkg/util/clock is deprecated and all clock utils is
on k8s.io/utils/clock repo instead.
Signed-off-by: Vu Dinh [email protected]
Signed-off-by: Vu Dinh [email protected]
Co-authored-by: timflannagan [email protected]
In k8s 1.24, token secret is no longer referenced in ServiceAccount.
By listing all secrets in the namespace and then filter them with
SA name via kubernetes.io/service-account.name annotation, the
token secret can be retrieved successfully.
Signed-off-by: Vu Dinh [email protected]
Create token secret for ServiceAccount to ensure those SA
is valid for scoped client use.
Signed-off-by: Vu Dinh [email protected]
Upstream-repository: operator-lifecycle-manager
Upstream-commit: fd9017345aa0fbd7aaed7f0937ff23fca33a9df0
Co-authored-by: timflannagan [email protected]