How to Determine Needed Permissions for a Command in OpenShift

Solution Verified - Updated -

Issue

  • How to create a service account for pruning?
  • What permissions does a role or clusterrole need to allow a user to do X?
  • Custom role creation guidance
  • What nouns and verbs to remove from a role to prevent a user from performing a cli command

Environment

  • Red Hat OpenShift Container Platform
    • 3.x

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