Skip to content

Conversation

@jottofar
Copy link
Contributor

@jottofar jottofar commented Apr 12, 2021

k8s.io v1beta1 APIs are no longer served In kuberentes v1.22. Therefore removing apiextensions.k8s.io/v1beta1 version of
CustomResourceDefinition, apiregistration.k8s.io/v1beta1 version of APIService, and rbac.authorization.k8s.io/v1beta1 version of ClusterRole, ClusterRoleBinding, Role, and RoleBinding. Kubernetes recommended action is to use the v1 API versions which are already in use in CVO. It supported both versions.

Use of the v1beta1 versions is currently causing the DeprecatedAPIInUse alert to fire in 4.8 clusters.

@openshift-ci-robot
Copy link
Contributor

@jottofar: This pull request references Bugzilla bug 1947797, 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
  • bug is open, matching expected state (open)
  • bug target release (4.8.0) matches configured target release for branch (4.8.0)
  • bug is in the state ASSIGNED, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

No GitHub users were found matching the public email listed for the QA contact in Bugzilla ([email protected]), skipping review request.

Details

In response to this:

Bug 1947797: Remove apiextensions.k8s.io/v1beta1

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.

@openshift-ci-robot openshift-ci-robot added bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels Apr 12, 2021
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jottofar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 12, 2021
@jottofar
Copy link
Contributor Author

/test unit

@jottofar jottofar force-pushed the bug-1947797 branch 2 times, most recently from a1b0262 to a207e2c Compare April 12, 2021 18:44
@jottofar
Copy link
Contributor Author

/test unit

@jottofar
Copy link
Contributor Author

/retitle Bug 1947797: Remove k8s.io v1beta1 APIs no longer served

@openshift-ci-robot openshift-ci-robot changed the title Bug 1947797: Remove apiextensions.k8s.io/v1beta1 Bug 1947797: Remove k8s.io v1beta1 APIs no longer served Apr 12, 2021
@openshift-ci-robot
Copy link
Contributor

@jottofar: This pull request references Bugzilla bug 1947797, which is valid.

3 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target release (4.8.0) matches configured target release for branch (4.8.0)
  • bug is in the state POST, which is one of the valid states (NEW, ASSIGNED, ON_DEV, POST, POST)

No GitHub users were found matching the public email listed for the QA contact in Bugzilla ([email protected]), skipping review request.

Details

In response to this:

Bug 1947797: Remove k8s.io v1beta1 APIs no longer served

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.

@jottofar
Copy link
Contributor Author

/test unit

@jottofar
Copy link
Contributor Author

jottofar commented May 3, 2021

/retest

@sttts
Copy link
Contributor

sttts commented May 3, 2021

I don't think this is solution for 4.8 for the problem at hand. The complain in the BZ is about CVO having two CRD manifests in its payload that are v1beta1.

This PR is good, but I would not merge it before 4.9 because during upgrade/downgrade between 4.7 and 4.8 the CVO mifght "see" v1beta1 CRDs manifests that are completely valid.

/hold

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 3, 2021
In kuberentes v1.22 including apiextensions.k8s.io/v1beta1 version of
CustomResourceDefinition, apiregistration.k8s.io/v1beta1 version of
APIService, and rbac.authorization.k8s.io/v1beta1 version of ClusterRole,
ClusterRoleBinding, Role, and RoleBinding. Use is currently causing the
DeprecatedAPIInUse alert to fire in 4.8 clusters.
@jottofar
Copy link
Contributor Author

jottofar commented May 3, 2021

/retitle Remove k8s.io v1beta1 APIs no longer served

@openshift-ci-robot openshift-ci-robot changed the title Bug 1947797: Remove k8s.io v1beta1 APIs no longer served Remove k8s.io v1beta1 APIs no longer served May 3, 2021
@openshift-ci-robot
Copy link
Contributor

@jottofar: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

Details

In response to this:

Remove k8s.io v1beta1 APIs no longer served

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.

@openshift-ci-robot openshift-ci-robot removed bugzilla/severity-high Referenced Bugzilla bug's severity is high for the branch this PR is targeting. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. labels May 3, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 4, 2021

@jottofar: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/unit 6fdc37c link /test unit
ci/prow/e2e-agnostic-operator 6fdc37c link /test e2e-agnostic-operator
ci/prow/e2e-agnostic-upgrade 6fdc37c link /test e2e-agnostic-upgrade

Full PR test history. Your PR dashboard.

Details

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.

@jottofar
Copy link
Contributor Author

/close

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 24, 2021

@jottofar: PR needs rebase.

Details

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.

@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 24, 2021
@openshift-ci openshift-ci bot closed this May 24, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 24, 2021

@jottofar: Closed this PR.

Details

In response to this:

/close

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants