osb-starter-pack icon indicating copy to clipboard operation
osb-starter-pack copied to clipboard

Helm install failing with `no kind "ClusterServiceBroker"`

Open lblackstone opened this issue 7 years ago • 3 comments

The Helm chart is failing to install with the following error message:

helm upgrade --install broker-skeleton --namespace broker-skeleton \
	charts/servicebroker \
	--set image="<redacted>",imagePullPolicy="IfNotPresent"
Release "broker-skeleton" does not exist. Installing it now.
Error: unable to decode "": no kind "ClusterServiceBroker" is registered for version "servicecatalog.k8s.io/v1beta1"

This appears to be related to https://github.com/helm/helm/issues/2994. Changing the hook type for the ClusterServiceBroker to crd-install seems to fix it.

lblackstone avatar Oct 02 '18 20:10 lblackstone

Out of curiosity, what was the timing of when you installed the service catalog chart itself? Did you rely on helm to detect it as a dependency and install it implicitly when you installed the custom broker?

carolynvs avatar Oct 04 '18 13:10 carolynvs

I already had the SC installed by following the instructions here

This failure was happening as I was following these instructions

lblackstone avatar Oct 04 '18 14:10 lblackstone

I am also getting the same error, @lblackstone However changing the helm hook to crd-install finishes the helm install but does not register the broker in kubernetes service catalog, which should not be happening. when you do kubectl get clusterservicebroker the response is empty.

prashant182 avatar Dec 11 '18 00:12 prashant182