pmorie / osb-starter-pack

A quickstart for making a new Open Service Broker
Apache License 2.0
69 stars 47 forks source link

Helm install failing with `no kind "ClusterServiceBroker"` #104

Open lblackstone opened 6 years ago

lblackstone commented 6 years ago

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.

carolynvs commented 6 years ago

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?

lblackstone commented 6 years ago

I already had the SC installed by following the instructions here

This failure was happening as I was following these instructions

prashant182 commented 5 years ago

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.