Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1870915

Summary: Enable sriov admission controller to access replicaset rbac resource
Product: OpenShift Container Platform Reporter: zenghui.shi <zshi>
Component: NetworkingAssignee: zenghui.shi <zshi>
Networking sub component: SR-IOV QA Contact: zhaozhanqi <zzhao>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: high CC: djuran
Version: 4.6   
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:30:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description zenghui.shi 2020-08-21 03:16:16 UTC
Description of problem:

sriov-dp-admission-controller was enabled to access replicaset, daemonset resources in PR: https://github.com/openshift/sriov-dp-admission-controller/pull/18.
since sriov-dp-admission-controller is managed by sriov-network-operator, its clusterrole is rendered by sriov-network-operator, which requires the same clusterrole be updated in operator bindata.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 zhaozhanqi 2020-08-24 03:15:56 UTC
Verified this bug on 4.6.0-202008210948.p0

clusterrole was updated for 'network-resources-injector'

- apiGroups:
  - ""
  - k8s.cni.cncf.io
  - extensions
  - apps
  resources:
  - pods
  - network-attachment-definitions
  - replicationcontrollers
  - replicasets
  - daemonsets
  - statefulsets

Comment 5 errata-xmlrpc 2020-10-27 16:30: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 (OpenShift Container Platform 4.6 GA Images), 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/RHBA-2020:4196