Cannot modify ClusterRole created from a default Cluster Role

Solution Verified - Updated -

Issue

We have created a clusterrole based on the admin one in OSE. The only difference is that inside that role we are removing the "delete" verb from the "projects" resource and add the "update" verb to the "routes/custom-host" resource.

I tried using " openshift.io/reconcile-protect: "true" " and also " rbac.authorization.kubernetes.io/autoupdate : "false" " but the role keeps changing into it's default mode .

Environment

OCP 3.9.41+

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.