From fb16f67038d6441380246e3d868ead527fa91bc8 Mon Sep 17 00:00:00 2001 From: Gil Vitzinger Date: Tue, 26 Apr 2022 09:25:25 +0200 Subject: [PATCH] Tests - Fix permission denied on listing events * 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 --- test/integration/container/rbac.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration/container/rbac.yaml b/test/integration/container/rbac.yaml index 5521058..ca21e69 100644 --- a/test/integration/container/rbac.yaml +++ b/test/integration/container/rbac.yaml @@ -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"]