Skip to content

v2.17.1 - Missing permission watch for endpointslides in clusterrole rabbitmq-cluster-operator-role #2003

@clevandowski

Description

@clevandowski

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions