Closed BostjanBozic closed 4 years ago
could you make the change with this:
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- update
thanks.
@raffaelespazzoli There we go, fixed.
One thing that I notied though is that it seems this is only required if you deploy operator straight from manifests or via Helm. If you use OLM, it does deploy operator without events permissions, yet it still works.
This seems to be a problem when deploying operator v0.1.2 with manifests in master branch.
I have built operator image from master and tested it without this ClusterRole adjustment, everything works without issues, so I will close this PR.
If resource labels are to be patched, resource-locker-operator required capability to patch events.
Error observed: