How to create a custom cluster role in Openshift Container Platform.

Updated -

Environment

  • OpenShift Container Platform 3.7

Prerequisites

  • One has to be a cluster-admin to create a custom cluster role.

Process

  1. Export or create a role. In this example, we'll export an existing role.

    [root@master-0 ~]# oc export clusterrole edit > disable_exec.yaml
    

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