Describe the bug
In rabbitmq/cluster-operator in v2.17.1, you forgot to add the permission watch for endpointslices in clusterrole rabbitmq-cluster-operator-role
To Reproduce
Errors in logs of pods of deployment rabbitmq-system/rabbitmq-cluster-operator:
endpointslices.discovery.k8s.io is forbidden: User "system:serviceaccount:rabbitmq-system:rabbitmq-cluster-operator" cannot watch resource "endpointslices" in API group "discovery.k8s.io" at the cluster scope
Expected behavior
No error in logs
Screenshots
N/A
Version and environment information
- RabbitMQ Cluster Operator: v2.17.1
Additional context
N/A