Bug 1870915 - Enable sriov admission controller to access replicaset rbac resource
Summary: Enable sriov admission controller to access replicaset rbac resource
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Networking
Version: 4.6
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.6.0
Assignee: zenghui.shi
QA Contact: zhaozhanqi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-21 03:16 UTC by zenghui.shi
Modified: 2020-10-27 16:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 16:30:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift sriov-network-operator pull 326 0 None closed Bug 1870915: Enable sriov webhook to access replica rbac resources 2020-10-28 11:23:09 UTC
Red Hat Product Errata RHBA-2020:4196 0 None None None 2020-10-27 16:30:28 UTC

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


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