mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-08 00:37:27 +00:00
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.
This commit is contained in:
parent
ebf742d272
commit
1ff24d9285
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ rules:
|
|||
- events
|
||||
verbs:
|
||||
- create
|
||||
- patch
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
|
|
|
|||
Loading…
Reference in a new issue