RockteMQ-AI commented on issue #113:
URL:
https://github.com/apache/rocketmq-operator/issues/113#issuecomment-5259916166
**Issue Evaluation**
Category: `question` | Status: **Answered**
This is an RBAC permission issue. The operator needs access to `leases`
resources for leader election, but the `ClusterRole` does not include this
permission.
**Fix:** Add the following to your `role.yaml`:
```yaml
- apiGroups: ["coordination.k8s.io"]
resources: ["leases"]
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]
```
Then re-apply the role and role binding.
---
*Automated evaluation by github-manager*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]