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

Unable to install via Helm #1185

Closed
wshelley opened this issue Sep 25, 2019 · 4 comments
Closed

Unable to install via Helm #1185

wshelley opened this issue Sep 25, 2019 · 4 comments

Comments

@wshelley
Copy link

On a new RBAC kube cluster I get the following errors on installation:

Looks like some kind of CRD race condition?

$ helm install --name kubeapps --namespace kubeapps bitnami/kubeapps

Error: unable to decode "": no kind "AppRepository" is registered for version "kubeapps.com/v1alpha1"


$ helm install --name kubeapps --namespace kubeapps bitnami/kubeapps

Error: apprepositories.kubeapps.com "bitnami" already exists


$helm version

Client: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.11.0", GitCommit:"2e55dbe1fdb5fdb96b75ff144a339489417b146b", GitTreeState:"clean"}
@wshelley
Copy link
Author

If I delete the CRD object it goes back to the original error:

$ kubectl delete AppRepository bitnami -n kubeapps
apprepository.kubeapps.com "bitnami" deleted


$ helm install --name kubeapps --namespace kubeapps bitnami/kubeapps
Error: unable to decode "": no kind "AppRepository" is registered for version "kubeapps.com/v1alpha1"

@andresmgot
Copy link
Contributor

andresmgot commented Sep 25, 2019

hi @wshelley, we have just merged a PR that removes compatibility with Helm < 2.14. Would you mind upgrading to the latest version of Helm?

(the change is needed to support future versions of Helm 3)

@wshelley
Copy link
Author

Installed fine after the upgrade thank you.

Version number in docs may need to updated in that case: https://github.com/kubeapps/kubeapps/blob/master/docs/user/getting-started.md

@andresmgot
Copy link
Contributor

good catch, thanks for the heads up

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

2 participants