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 version too new on macOS when installing Jenkins X into cluster #6018

Closed
sfynx opened this issue Nov 2, 2019 · 5 comments
Closed

Helm version too new on macOS when installing Jenkins X into cluster #6018

sfynx opened this issue Nov 2, 2019 · 5 comments

Comments

@sfynx
Copy link

sfynx commented Nov 2, 2019

Summary

When using jx boot on a fresh GKE cluster I get this error:

error: package helm is using version 2.15.2+g8dce272 which is too new. The version stream requires a version earlier than 2.15.0

Steps to reproduce the behavior

  • Make sure you have no Helm installed
  • Run jx create cluster gke (probably also happens with other clusters)
  • When asked to install dependencies, select helm
  • Optionally jx boot if you used --skip-installation at the cluster creation command.

Expected behavior

Helm works as expected

Actual behavior

It is reported that the Helm version is too new.

I suspect this happens because the kubernetes-helm brew package is quite new, and this now breaks fresh installations.

Jx version

v2.0.941 on macOS installed through Homebrew. jx version not yet available because Jenkins X is not yet installed in cluster.

Jenkins type

Not chosen, Jenkins X is not yet installed in cluster.

Kubernetes cluster

GKE, using jx create cluster gke command

Operating system / Environment

macOS 10.14.6

@sfynx
Copy link
Author

sfynx commented Nov 2, 2019

Ok, I see this is intended: jenkins-x/jenkins-x-versions@a1358a2

Would be nice if we can figure out a way to auto-install the latest 2.14 release in this case so new installs do not break, perhaps by downloading the binary ourselves like it is done with kubectl?

@mbakker2000
Copy link

I have the same issue OSX with in a minikube environment, is there a work around for this issue?

@sfynx
Copy link
Author

sfynx commented Nov 5, 2019

I have the same issue OSX with in a minikube environment, is there a work around for this issue?

You can simply install Helm 2.14.3 yourself and put it into your search path, e.g. by downloading their GitHub release directly: https://github.com/helm/helm/releases/tag/v2.14.3
Then jx boot will use that one and won't offer to to install it from another source.

Changing jx boot so that it downloads this specific Helm release this way would fix this issue.

@TonyNoble
Copy link

Reproduced on Ubuntu 18. jx boot downloads a version of helm that is too new (2.16) to use on subsequent runs.
Worked around by manual install of helm 2.14.3 as above, but not particularly ideal.

@deanesmith
Copy link
Contributor

This has been addressed here - deanesmith@88ac8f2. Helm 3 updates coming soon.

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

No branches or pull requests

5 participants