-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
Undefined
-
-
-
- Proposed title of this feature request
User can't bypass rbac with a StatefulSet volumeClaimTemplates. - What is the nature and description of the request?
We notice that when a user create a StatefulSet with a volumeClaimTemplates, he can provision persistentVolumeClaim even if his user didn't have right to create persistentVolumeClaim object. - Why does the customer need this? (List the business requirements here)
Our users do not have the right to create persistent volume claim (specific role in the project). Actually, they can by pass this restriction with statefulset. - How would you like to achieve this? (List the functional requirements here)
Prohibit the use of volumeClaimTemplates in a statefulset. I could be done via an operator with hooks like the "Cluster resource override operator" for example. - List any affected packages or components
statefulset
This issue is reported in Bug 1935738 and closed as a NOTABUG