-
Notifications
You must be signed in to change notification settings - Fork 214
OCPBUGS-55937: Gate 4.19 -> 4.20 upgrade due to admissionregistration.k8s.io/v1beta1 API removal #1193
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
OCPBUGS-55937: Gate 4.19 -> 4.20 upgrade due to admissionregistration.k8s.io/v1beta1 API removal #1193
Conversation
…ta1 between 4.19 and 4.20.
| include.release.openshift.io/self-managed-high-availability: "true" | ||
| data: | ||
| ack-4.19-admissionregistration-v1beta1-api-removals-in-4.20: |- | ||
| The admissionregistration.k8s.io/v1beta1 API version is deprecated in 4.19 and will be removed in 4.20. The admissionregistration.k8s.io/v1 API versions of these resources are available for use in 4.19, and it is recommended to migrate to them before upgrading to 4.20. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The admissionregistration.k8s.io/v1beta1 API version is deprecated in 4.19 and will be removed in 4.20. The admissionregistration.k8s.io/v1 API versions of these resources are available for use in 4.19, and it is recommended to migrate to them before upgrading to 4.20. | |
| The admissionregistration.k8s.io/v1beta1 API group version is deprecated and will be removed in 4.20. Clients must instead use the corresponding resources in the admissionregistration.k8s.io/v1 group version. |
Nit: "Group version" is an appropriate term for this. Also, I don't know what the style conventions are for these messages, but stronger phrasing seems appropriate for the recommendation. Ignoring it means breaking any client that depends on the old GV.
|
/retest-required |
|
@jacobsee: This pull request references Jira Issue OCPBUGS-57488, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/retitle OCPBUGS-55937: Gate 4.19 -> 4.20 upgrade due to admissionregistration.k8s.io/v1beta1 API removal |
|
@jacobsee: This pull request references Jira Issue OCPBUGS-55937, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
pre-merge tested the PR, looks good, detail see https://issues.redhat.com/browse/OCPBUGS-55937?focusedId=27478523&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-27478523 |
|
/lgtm |
|
/jira refresh |
|
@dgrisonnet: This pull request references Jira Issue OCPBUGS-55937, which is valid. 7 validation(s) were run on this bug
Requesting review from QA contact: DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/retest-required |
|
/lgtm |
|
/assign @wking |
|
cc @petr-muller and @PratikMahajan |
|
Got suggesstion from https://redhat-internal.slack.com/archives/CF8SMALS1/p1752598604862809?thread_ts=1752564403.831279&cid=CF8SMALS1 This needs a KCS or other doc link to hold admin's hand through this removal, similar to what we've done for other Kube API server removals, e.g. https://github.com/openshift/cluster-version-operator/pull/1181/files#diff-f8697aadf7d50d34333c00c4fd526f096b9a65586fc4c086b330e7f10499056cR13 |
|
@wking PTAL. Need your approval and backport-risk label. It seems this is PR to good to go unless I missed something. Feel free to correct me if that is the case. |
This one needs a link to a new KCS article before it can be approved. |
|
Attaching link to the draft KCS article here: https://access.redhat.com/articles/7130599 |
|
/lgtm |
wking
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/retest-required
The KCS isn't published yet, but it's been through some review internally, and we're trying to prep for 4.20's coming GA. So merge this now, and we'll try and get the KCS out before whatever 4.19.z this ends up in goes GA.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dgrisonnet, jacobsee, wangke19, wking The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/label backport-risk-assessed |
|
Cluster Bot $ oc adm upgrade
Cluster version is 4.19.0-0-2025-09-24-191709-test-ci-ln-gs99jw2-latest
Upgradeable=False
Reason: AdminAckRequired
Message: The admissionregistration.k8s.io/v1beta1 group version is deprecated in 4.19 and will be removed in 4.20. Any clients using the v1beta1 version of these resources must be updated to use the corresponding v1 version instead. See https://access.redhat.com/articles/7130599 for more information.
warning: Cannot display available updates:
Reason: NoChannel
Message: The update channel has not been configured.
$ oc -n openshift-config patch cm admin-acks --patch '{"data":{"ack-4.19-admissionregistration-v1beta1-api-removals-in-4.20":"true"}}' --type=merge
configmap/admin-acks patchedWait a few seconds for the CVO to notice and update $ oc adm upgrade
Cluster version is 4.19.0-0-2025-09-24-191709-test-ci-ln-gs99jw2-latest
warning: Cannot display available updates:
Reason: NoChannel
Message: The update channel has not been configured./verified by @wking |
|
@wking: This PR has been marked as verified by DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
|
/override ci/prow/e2e-agnostic-ovn-upgrade-into-change |
|
@wking: Overrode contexts on behalf of wking: ci/prow/e2e-agnostic-ovn-upgrade-into-change DetailsIn 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-sigs/prow repository. |
|
Prow still grumpy about upgrade-into-change? Hammer again: /override ci/prow/e2e-agnostic-ovn-upgrade-into-change |
|
@wking: Overrode contexts on behalf of wking: ci/prow/e2e-agnostic-ovn-upgrade-into-change DetailsIn 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-sigs/prow repository. |
|
@jacobsee: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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-sigs/prow repository. I understand the commands that are listed here. |
810c159
into
openshift:release-4.19
|
@jacobsee: Jira Issue OCPBUGS-55937: All pull requests linked via external trackers have merged: Jira Issue OCPBUGS-55937 has been moved to the MODIFIED state. DetailsIn 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 openshift-eng/jira-lifecycle-plugin repository. |
Add upgrade gate for the removal of admissionregistration.k8s.io/v1beta1 between 4.19 and 4.20.