From 1ff24d9285b1e5a2c72e3cefc0504b7acd06f9eb Mon Sep 17 00:00:00 2001 From: Hidde Beydals Date: Thu, 10 Sep 2020 20:52:16 +0200 Subject: [PATCH] Add PATCH rule to crd-controller role for events During high custom resource count / low interval tests, I was greated with a `cannot patch resource "events"` message. This happened due to event compaction, where it will perform a patch instead of a create. By giving the role the permission to do so this should no longer pose a problem. --- manifests/rbac/role.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/rbac/role.yaml b/manifests/rbac/role.yaml index dcd63727..1c642f13 100644 --- a/manifests/rbac/role.yaml +++ b/manifests/rbac/role.yaml @@ -27,6 +27,7 @@ rules: - events verbs: - create + - patch --- apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding