Repository navigation
[ISSUE #119] Add event resource permission - #118
Conversation
RockteMQ-AI
left a comment
There was a problem hiding this comment.
Summary
Adds missing RBAC permissions for Kubernetes events resource (create and patch verbs) to both the deploy manifest (role.yaml) and the kubebuilder marker in main.go.
This is a correct and minimal fix — the operator needs to create Event resources for status reporting, and the RBAC rules were missing this permission, causing the operator to log errors when attempting to publish events.
LGTM.
Automated review by github-manager-bot
|
Issue Evaluation Category: The operator's RBAC configuration is missing the Root Cause: The ClusterRole definition does not include Fix: Add - apiGroups: [""]
resources: ["events"]
verbs: ["create", "get", "list", "watch", "update", "patch"]Note: This issue has been open since Dec 2022 and marked stale. Related to #119. The fix is straightforward. Automated evaluation by github-manager |
Event resource permission is missing, operator logs as follows:
ref issue #119