Skip to content

Commit

Permalink
Adding roles needed for testing routing policy
Browse files Browse the repository at this point in the history
  • Loading branch information
vinaygonuguntla committed Jul 14, 2022
1 parent e7a5bde commit 2af86fb
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
17 changes: 16 additions & 1 deletion install/admiral/base/role_bindings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,19 @@ roleRef:
subjects:
- kind: ServiceAccount
name: admiral
namespace: admiral
namespace: admiral

---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: admiral-cluster-binding
namespace: istio-system
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: admiral-sync-write-envoyfilters
subjects:
- kind: ServiceAccount
name: admiral
namespace: istio-system
12 changes: 12 additions & 0 deletions install/admiral/base/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,15 @@ rules:
- apiGroups: [""]
resources: ["configmaps"]
verbs: ["get", "update", "create"]

---

kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: admiral-sync-write-envoyfilters
namespace: admiral
rules:
- apiGroups: ["networking.istio.io"]
resources: ['envoyfilters']
verbs: ["create", "update", "delete"]

0 comments on commit 2af86fb

Please sign in to comment.