kubernetesrbaccsi

ClusterRole for CSI drivers


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


Solution

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

    Here is an example of whats need to be done