Skip to content

Commit 2bc52aa

Browse files
authored
Adds reading events to default RBAC to view policy violations (#905)
- Right now it shows an RBAC error
1 parent c98ce56 commit 2bc52aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

charts/mccp/templates/rbac/user_roles.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ rules:
7575
- apiGroups: ["pac.weave.works"]
7676
resources: ["policies"]
7777
verbs: ["get", "list"]
78+
- apiGroups: [""]
79+
resources: ["events"]
80+
verbs: ["get", "watch", "list"]
7881
---
7982
apiVersion: rbac.authorization.k8s.io/v1
8083
kind: ClusterRole

0 commit comments

Comments
 (0)