Skip to content

Commit

Permalink
Tests - Fix permission denied on listing events
Browse files Browse the repository at this point in the history
* Fixed an issue where integration tests would fail becuase it had permission denied when tried to list events

Change-Id: I03640189e707f7b66a52aa9a70327c2bad4761d9
Signed-off-by: Gil <[email protected]>
  • Loading branch information
nvgvitzi committed Apr 26, 2022
1 parent f805e84 commit fb16f67
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/integration/container/rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ metadata:
labels:
nvmesh-csi-testing: ""
rules:
- apiGroups: ["", "events.k8s.io"]
resources: ["events"]
verbs: ["*"]
- apiGroups: [""]
resources: ["persistentvolumes", "persistentvolumeclaims"]
verbs: ["get", "list", "create", "watch", "update", "patch", "delete"]
Expand Down

0 comments on commit fb16f67

Please sign in to comment.