Bug 1905393 - CMO uses rbac.authorization.k8s.io/v1beta1 instead of rbac.authorization.k8s.io/v1
Summary: CMO uses rbac.authorization.k8s.io/v1beta1 instead of rbac.authorization.k8s....
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 4.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.7.0
Assignee: Damien Grisonnet
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-08 09:06 UTC by Simon Pasquier
Modified: 2021-02-24 15:41 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:41:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-monitoring-operator pull 1033 0 None closed Bug 1905393: manifests: use rbac.authorization.k8s.io/v1 2021-02-21 08:10:54 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:41:29 UTC

Description Simon Pasquier 2020-12-08 09:06:08 UTC
Description of problem:
rbac.authorization.k8s.io/v1beta1 is deprecated since Kube 1.17 and will be removed in 1.22.

Version-Release number of selected component (if applicable):
4.7

How reproducible:
Always

Steps to Reproduce:
1. Look at CVO logs

Actual results:

2020-12-08T06:41:58.901305682Z W1208 06:41:58.901267       1 warnings.go:67] rbac.authorization.k8s.io/v1beta1 ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRoleBinding

Expected results:
No warning.

Additional info:

Comment 3 Junqi Zhao 2021-01-13 02:33:23 UTC
tested with 4.7.0-0.nightly-2021-01-12-203716, 
# oc api-resources | grep ClusterRoleBinding
clusterrolebindings                                    authorization.openshift.io/v1                 false        ClusterRoleBinding
clusterrolebindings                                    rbac.authorization.k8s.io/v1                  false        ClusterRoleBinding

Comment 7 errata-xmlrpc 2021-02-24 15:41:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:5633


Note You need to log in before you can comment on or make changes to this bug.