Cannot modify custom 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, 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