Implicit RBAC grants in OpenShift Container Platform

Solution Verified - Updated -

Issue

  • When a user creates a StatefulSet with a volumeClaimTemplates, he can provision a PersistentVolumeClaim even if the user does not have the permission to create a PersistentVolumeClaim object. Why is this?
  • Are there implicit grants for RBAC permissions for certain objects?
  • As a user, oc auth can-i create persistentvolumeclaims returns "no", but the user can still create PersistentVolumeClaims via a StatefulSet - why is this?

Environment

  • OpenShift Container Platform 4

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