Implicit RBAC grants in OpenShift Container Platform
Issue
- When a user creates a
StatefulSetwith avolumeClaimTemplates, he can provision aPersistentVolumeClaimeven if the user does not have the permission to create aPersistentVolumeClaimobject. Why is this? - Are there implicit grants for RBAC permissions for certain objects?
- As a user,
oc auth can-i create persistentvolumeclaimsreturns "no", but the user can still createPersistentVolumeClaimsvia aStatefulSet- 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.