Failed when creating policy using messaging topology operator

387 views
Skip to first unread message

Ecep Cahyudin

unread,
Apr 17, 2023, 7:31:23 PM4/17/23
to rabbitmq-users
I got issue when creating policy using messaging topology operator. 

Please help me.

Step to reproduce
4. kubectl apply -f rabbitmq-cluster.yaml
5. kubectl apply -f ha-policy.yaml
6. Got failed :
Error from server (InternalError): error when creating "ha-policy.yaml": Internal error occurred: failed calling webhook "vpolicy.kb.io": failed to call webhook: Post "https://rabbitmq-cluster-operator-rabbitmq-messaging-topology-operator.rabbitmq-system.svc:443/validate-rabbitmq-com-v1beta1-policy?timeout=10s": service "rabbitmq-cluster-operator-rabbitmq-messaging-topology-operator" not found

Note: I use rancher dekstop to run kubernetes on my local machine

Thanks.

Chunyi Lyu

unread,
Apr 18, 2023, 4:34:09 AM4/18/23
to rabbitmq-users
Hi,

The webhook service created for messaging topology operator is call "webhook-service" not "rabbitmq-cluster-operator-rabbitmq-messaging-topology-operator" by default. Could you please double check your installation steps and see if you've altered the service name somewhere?

Best,
Chunyi
Reply all
Reply to author
Forward
0 new messages