oc adm policy add-cluster-role-to-group allows you to create a role binding to a role that does not exist

Solution Verified - Updated -

Issue

oc adm policy add-cluster-role-to-group allows you to create a role binding to a role that does not exist then spams atomic-openshift-master-api logs with:

Apr 20 09:50:03 ip-10-192-0-14 atomic-openshift-master-api: E0420 09:50:03.704443   21856 cache.go:332] error synchronizing: [clusterrole.rbac.authorization.k8s.io "TESTING" not found]

Environment

  • Red Hat OpenShift Container Platform 3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content