<p>I'm designing my own CSI driver and I'm wondering about needed role to be used for Kubernetes RBAC API.</p>
<p>The question is: am I forced to define my service specifying ClusterRole?</p>
<p>I made some trials and I couldn't manage to avoid it.</p>
<p>Thanks in advance to anyone will support,
Antonio</p>

Anto74
<p>The answer is yes, you do need to supply the <code>ClusterRole</code></p>
<h3>Here is an example of whats need to be done</h3>
<ul>
<li>Follow those objects to have a full understanding of the required resources
<a href="https://github.com/kubernetes-csi/external-provisioner/blob/master/deploy/kubernetes/rbac.yaml" rel="nofollow noreferrer">https://github.com/kubernetes-csi/external-provisioner/blob/master/deploy/kubernetes/rbac.yaml</a></li>
</ul>
