RabbitMQ Cluster Operator unable to add label to node service #1469
-
Hi, I am trying to add a label to the rabbitmq cluster operator services, however when i redeploy after adding a service label the error indicates it is missing from spec: [- apiVersion: rabbitmq.com/v1beta1 Note: i am able to provide annotations but not labels to the services thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
As the error says - there's simply no such field. We never supported adding labels on the service level directly. |
Beta Was this translation helpful? Give feedback.
As the error says - there's simply no such field. We never supported adding labels on the service level directly.
You an set labels on the RabbitmqCluster level and they'll be propagated to the service:
https://www.rabbitmq.com/kubernetes/operator/using-operator.html#labels-annotations