Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helm install failing with no kind "ClusterServiceBroker" #104

Open
lblackstone opened this issue Oct 2, 2018 · 3 comments
Open

Helm install failing with no kind "ClusterServiceBroker" #104

lblackstone opened this issue Oct 2, 2018 · 3 comments

Comments

@lblackstone
Copy link

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 helm/helm#2994. Changing the hook type for the ClusterServiceBroker to crd-install seems to fix it.

@carolynvs
Copy link
Collaborator

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
Copy link
Author

I already had the SC installed by following the instructions here

This failure was happening as I was following these instructions

@prashant182
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants