ClusterRole for CSI drivers

87 Views Asked by At

I'm designing my own CSI driver and I'm wondering about needed role to be used for Kubernetes RBAC API.

The question is: am I forced to define my service specifying ClusterRole?

I made some trials and I couldn't manage to avoid it.

Thanks in advance to anyone will support, Antonio

1

There are 1 best solutions below

0
On BEST ANSWER

The answer is yes, you do need to supply the ClusterRole

Here is an example of whats need to be done