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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.