<p>I am trying to setup my Helm chart to be able to deploy a <code>VirtualService</code>.  My deploy user has the <code>Edit</code> ClusterRole bound to it.  But I realized that because Istio is not part of the core Kubernetes distro, the <code>Edit</code> ClusterRole does not have permissions to add a <code>VirtualService</code> (or even look at them).</p>
<p>I can, of course, make my own Roles and ClusterRoles if needed.  But I figured I would see if Istio has a recommended Role or ClusterRole for that.</p>
<p>But all the docs that I can find for Istio Roles and ClusterRoles are for old versions of Istio.</p>
<p><strong>Does Istio not recommend using Roles and ClusterRoles anymore?  If not, what do they recommend?  If they do, where are the docs for it?</strong></p>

Vaccano
<p>I ended up using these ClusterRoles.  They merge with the standard Kubernetes roles of admin, edit and view.  (My edit role only allows access to the VirtualService because that fit my situtation.)</p>
<pre><code>apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:  
  name: istio-admin
  labels:
    rbac.authorization.k8s.io/aggregate-to-admin: &quot;true&quot;
rules:
- apiGroups: [&quot;config.istio.io&quot;, &quot;networking.istio.io&quot;, &quot;rbac.istio.io&quot;, &quot;authentication.istio.io&quot;, &quot;security.istio.io&quot;]
  resources: [&quot;*&quot;]
  verbs: [&quot;*&quot;]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:  
  name: istio-edit
  labels:
    rbac.authorization.k8s.io/aggregate-to-edit: &quot;true&quot;
rules:
- apiGroups: [&quot;config.istio.io&quot;, &quot;networking.istio.io&quot;, &quot;rbac.istio.io&quot;, &quot;authentication.istio.io&quot;, &quot;security.istio.io&quot;]
  resources: [&quot;virtualservices&quot;]
  verbs: [&quot;get&quot;, &quot;list&quot;, &quot;watch&quot;, &quot;create&quot;, &quot;update&quot;, &quot;patch&quot;, &quot;delete&quot;]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:  
  name: istio-view
  labels:
    rbac.authorization.k8s.io/aggregate-to-view: &quot;true&quot;
rules:
- apiGroups: [&quot;config.istio.io&quot;, &quot;networking.istio.io&quot;, &quot;rbac.istio.io&quot;, &quot;authentication.istio.io&quot;, &quot;security.istio.io&quot;]
  resources: [&quot;*&quot;]
  verbs: [&quot;get&quot;, &quot;list&quot;, &quot;watch&quot;]
  
</code></pre>
