Skip to content

Commit 9cd5dc6

Browse files
committed
give permissions to issue events in kcp
On-behalf-of: @SAP [email protected]
1 parent 1cb0bd2 commit 9cd5dc6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/utils/fixtures.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,11 @@ func CreateAPIExport(t *testing.T, ctx context.Context, client ctrlruntimeclient
155155
ResourceNames: []string{name},
156156
Verbs: []string{"get", "list", "watch", "patch", "update"},
157157
},
158+
{
159+
APIGroups: []string{""},
160+
Resources: []string{"events"},
161+
Verbs: []string{"get", "create", "update", "patch"},
162+
},
158163
{
159164
APIGroups: []string{"apis.kcp.io"},
160165
Resources: []string{"apiresourceschemas"},

0 commit comments

Comments
 (0)