Skip to content

Commit

Permalink
ClusterRole synced via RootSync
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Benoit committed Oct 20, 2022
1 parent baabbc5 commit 867e559
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions docs/setups/setup-asm-poco-gke.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,25 +82,3 @@ gcloud beta container fleet config-management apply \
--membership ${CLUSTER_NAME} \
--config acm-config.yaml
```

Since the `RepoSync` reconcilers need additional permissions to create Istio resources, the following `ClusterRole` needs to be applied to the cluster:
```bash
cat << EOF | kubectl apply -f -
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
rbac.authorization.k8s.io/aggregate-to-edit: "true"
name: custom:aggregate-to-edit:istio
rules:
- apiGroups:
- "networking.istio.io"
- "security.istio.io"
resources:
- "virtualservices"
- "authorizationpolicies"
- "gateways"
verbs:
- "*"
EOF
```

0 comments on commit 867e559

Please sign in to comment.