Helm install failing with `no kind "ClusterServiceBroker"`
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.
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?
I already had the SC installed by following the instructions here
This failure was happening as I was following these instructions
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.