Commit Graph
41 Commits
Author SHA1 Message Date
Matthew Fisher 97d12061d7 feat(ci): push release assets to Azure and GCS
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-06-05 13:48:25 -07:00
Arief Hidayat 65193adc10 fix(script): remove check on release URL
Closes #5480

Signed-off-by: Arief Hidayat <mr.arief.hidayat@gmail.com>
2019-03-22 23:00:49 +07:00
Arief Hidayat 7cb03fb562 fix(script): follow redirected URL of github latest release
When checking version and desired version is not set, we follow
redirected URL of github latest release to get the latest tag instead of
trying to get the tag value from html content.

Closes #5480

Signed-off-by: Arief Hidayat <mr.arief.hidayat@gmail.com>
2019-03-21 20:39:46 +07:00
Matthew Fisher ab9cc982a0 fix(scripts): use a more precise method of grepping
Github recently changed the output of the releases page.

grepping for the exact <a> tag fixes the issue where the wrong tag was being filtered.

Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
2019-03-19 21:07:03 -07:00
Alex Ellis 6e26320bef Fix issue #5273 for get script on armv7l (#5275)
This fixes issue #5273 in the get script by making the armv7l
architecture point at the correctly named "arm" binary on the
release page.

Signed-off-by: Alex Ellis <alexellis2@gmail.com>
2019-02-06 13:01:46 -08:00
Rimas Mocevicius 40ef9c0f70 make get script sudo optional (#4677)
Signed-off-by: rimas <rmocius@gmail.com>
2018-11-06 16:04:18 -08:00
Yuya Takeyama b7ea1c612d Install tiller as well if it exists (#4648)
* Install tiller as well if it exists

Signed-off-by: Yuya Takeyama <sign.of.the.wolf.pentagram@gmail.com>

* Fix message

ref: https://github.com/helm/helm/pull/4648#discussion_r218229227

Signed-off-by: Yuya Takeyama <sign.of.the.wolf.pentagram@gmail.com>
2018-09-17 14:52:21 -07:00
Yuya Takeyama 1832d525b0 Add --no-sudo option (#4649)
Signed-off-by: Yuya Takeyama <sign.of.the.wolf.pentagram@gmail.com>
2018-09-17 14:13:32 -07:00
Matthew Fisher c15a355da7 strip out all extra lines other than the first for parsing 2018-08-17 13:09:24 -07:00
Matthew Fisher 7cad59091a Merge pull request #4202 from bacongobbler/change-copyright
change copyright to "Copyright The Helm Authors"
2018-07-31 08:57:02 -07:00
Rimas 5a56449a2f replace github org with The Kubernetes package manager
To begin working with Helm, run the 'helm init' command:

	$ helm init

This will install Tiller to your running Kubernetes cluster.
It will also set up any necessary local configuration.

Common actions from this point include:

- helm search:    search for charts
- helm fetch:     download a chart to your local directory to view
- helm install:   upload the chart to Kubernetes
- helm list:      list releases of charts

Environment:
  $HELM_HOME          set an alternative location for Helm files. By default, these are stored in ~/.helm
  $HELM_HOST          set an alternative Tiller host. The format is host:port
  $HELM_NO_PLUGINS    disable plugins. Set HELM_NO_PLUGINS=1 to disable plugins.
  $TILLER_NAMESPACE   set an alternative Tiller namespace (default "kube-system")
  $KUBECONFIG         set an alternative Kubernetes configuration file (default "~/.kube/config")

Usage:
  helm [command]

Available Commands:
  completion  Generate autocompletions script for the specified shell (bash or zsh)
  create      create a new chart with the given name
  delete      given a release name, delete the release from Kubernetes
  dependency  manage a chart's dependencies
  fetch       download a chart from a repository and (optionally) unpack it in local directory
  get         download a named release
  history     fetch release history
  home        displays the location of HELM_HOME
  init        initialize Helm on both client and server
  inspect     inspect a chart
  install     install a chart archive
  lint        examines a chart for possible issues
  list        list releases
  package     package a chart directory into a chart archive
  plugin      add, list, or remove Helm plugins
  repo        add, list, remove, update, and index chart repositories
  reset       uninstalls Tiller from a cluster
  rollback    roll back a release to a previous revision
  search      search for a keyword in charts
  serve       start a local http web server
  status      displays the status of the named release
  template    locally render templates
  test        test a release
  upgrade     upgrade a release
  verify      verify that a chart at the given path has been signed and is valid
  version     print the client/server version information

Flags:
      --debug                           enable verbose output
  -h, --help                            help for helm
      --home string                     location of your Helm config. Overrides $HELM_HOME (default "/Users/rimas/.helm")
      --host string                     address of Tiller. Overrides $HELM_HOST
      --kube-context string             name of the kubeconfig context to use
      --tiller-connection-timeout int   the duration (in seconds) Helm will wait to establish a connection to tiller (default 300)
      --tiller-namespace string         namespace of Tiller (default "kube-system")

Use "helm [command] --help" for more information about a command. one
2018-07-31 12:34:02 +01:00
Matthew Fisher 2d77db11fa change copyright to "Copyright The Helm Authors" 2018-07-30 08:29:17 -07:00
James Meickle 931c80edea Don't request Tiller version in installer
This makes the script hang for quite a while if it can't connect to Tiller to retrieve this information that isn't being used anyways.
2018-05-15 12:43:28 -04:00
ReSearchITEng 09e0ab1809 closes #3795
closes #3795
2018-03-30 09:59:06 +03:00
Ferenc- 908addd6fc Fix HTML parsing when setting TAG with wget
Now the parsing part is the same as in the curl scenario
2018-03-22 14:51:45 +01:00
Michal Zerola 08a92b23d1 Fixed referencing the wrong env variable if SHA sum doesn't match. 2018-03-15 09:05:13 +01:00
Matthew Fisher 0935384bd5 remove "This Repository" link from releases page 2018-03-13 09:52:49 -07:00
Matthew Fisher 5cb0eb5e3b add amd, ppc64le, and windows OS/architectures 2017-12-29 14:42:31 -08:00
Matthew Fisher 55ab4b8664 Merge pull request #2986 from goostleek/bug/installation-script-fix
Installation shell script fix
2017-12-28 15:22:41 -08:00
Tim H 0645433048 Increase script portability
Instead of presuming that bash is installed at /bin/bash, use `$PATH`.  Official [bash docker container](https://hub.docker.com/_/bash/) installs bash at `/usr/local/bin` and recommends the use of `env`
2017-11-20 12:15:20 +01:00
Marcin Kłopotek 9a42d71898 Review fixes applied 2017-10-03 10:54:41 +02:00
Marcin Kłopotek b9e542666a Installation script was not compatible with Alpine Linux 2017-10-03 10:41:34 +02:00
Marcin Kłopotek c34ec82c36 HELM_TMP_ROOT directory is now uniquely generated to avoid potential clashes with old installation instances or other processes using the same /tmp subdirectory 2017-10-02 09:12:58 +02:00
Marcin Kłopotek 42bc36d240 Fixes shell installation script #2977 2017-09-29 16:39:42 +02:00
Hui Chen 895e8d086f fix unbound variable issue when get version 2017-09-12 09:34:53 +08:00
Justin Scott 46ce97c1b0 feat(helm): use openssl sha1 command
Currently the bash script that installs Helm is hard-coded to use
openssl sha command but some distros like Debian 9 only have sha1.
Since the popular current distros have sha1 we can switch to that.

Closes(#2859)
2017-08-28 23:23:18 -07:00
Tim H b914958b96 Fix curl error Failed writing body
Do not close the pipe early, output only the first version found.  wget command changed for consistency.
Fixes #2802
2017-08-14 13:54:43 +02:00
Tony Fahrion 8eace382f9 improve check if we are root already - in scripts/get
$EUID is readonly, so it should be save to test against it.

Thanks for the tip @thomastaylor312 !
2017-06-29 13:22:08 +02:00
Tony Fahrion 974c4b67c7 fix scripts/get runAsRoot CMD var building
Avoid using $* multiple times
2017-06-28 10:21:08 +02:00
Tony Fahrion f43da7fcfb makes sudo an optional dependency in scripts/get
If the execution user is already the root user, this avoids requireing
sudo to be installed within the environment. Which might helo in CI
environments.
2017-06-28 09:41:23 +02:00
ReSearchITEng f85118d1ec added possibility to set desired install version. See issue #2380 2017-05-03 09:36:09 +00:00
Jorge Marin 18fc8a8539 Update comment in function 2017-04-25 08:26:22 +00:00
Jorge Marin 6adf7d59de Print escaped chars 2017-04-24 10:30:35 +00:00
Jorge Marin e114807c45 Use '-SsL' for all 'curl' calls to get response using SSL, silently and following reedirections 2017-04-24 10:29:59 +00:00
Jorge Marin 037ff5b51c Replace call to Github HTTP API with normal Github URL 2017-04-24 10:29:01 +00:00
Leszek Charkiewicz 0d399baec2 Add checking installed helm version before downloading latest release
This change prevents downloading the same version as already installed.
2017-03-19 23:11:28 +01:00
Matt Butcher 48c1ba5355 Merge pull request #1545 from mattfarina/feat/1543-charts-domain-change
feat(charts): Move bucket to domain from path
2016-11-15 11:06:10 -07:00
Wayne Brantley 1f17788d8e use openssl instead of shasum
shasum is not on many platforms (like centos), use openssl instead.
2016-11-15 11:00:25 -05:00
Matt Farina da73150ce9 fix(tls): download helm and charts over https
Downloading of charts and helm itself happened over http. This
change moves to use https as that is available with valid certs.
2016-11-14 19:06:53 -05:00
Matt Farina 7a79661f0e feat(charts): Move bucket to domain from path
A bucket name in the path can be migrated to a custom k8s domain
name. This is in preperation for that.
2016-11-14 13:55:33 -05:00
Matt Butcher 8934eb5dc6 feat(scripts): add 'get' script to download and install
This adds 'scripts/get`, which is a bash script for fetching and
installing the Helm client. It has the following features:

- It uses the GitHub API to discover the latest release
- It downloads the SHA256 checksum and verifies the binary using it
- It does basic tests on the installation
2016-10-24 17:35:35 -06:00