unable to build kubernetes objects from release manifest on install stable/rabbitmq-ha

5/11/2020

when trying to install "rabbitmq-ha" I have an error

$ helm install rabbitmq stable/rabbitmq-ha Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "PrometheusRule" in version "monitoring.coreos.com/v1"

Version of Helm and Kubernetes: Version of Helm : "v3.2.1" Version of Kubernetes : "v1.17.5-0"

-- Waseem Awashra
kubernetes
kubernetes-helm
rabbitmq

1 Answer

5/14/2020
  • I solved the problem by using this command to install rabbitmq

    helm install --set replicaCount=2 \ --set rabbitmqUsername=yourUSERNAME \ --set rabbitmqPassword=yourPASSWORD \ --set prometheus.operator.enabled=false \ ha-rabbitmq stable/rabbitmq-ha

but I opened the issue on Github for helm-chart and a contributor on the project say

Confirming the bug too. This is caused by the following PR: #21274 (comment)

The regression was released in rabbitmq-ha chart version 1.44.2. 1.44.1 works OK.

-- Waseem Awashra
Source: StackOverflow