Commit Graph
103 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
Nguyen Hai Truong 8f91443326 Adding '/usr/bin/env bash' (#5334)
This commit aims to add '/usr/bin/env bash' as a shebang line
to indicates scripts use bash shell for interpreting.

Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-02-20 10:25:43 -08: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
Arturo Contreras a615f80c92 Adding --set-string flag to force string values. 2018-03-20 13:35:42 -06: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
Adam Reese 31e6446b8e ref(glide): remove need for scripts/setup-apimachinery.sh (#3446) 2018-02-02 14:59:59 -08:00
Justin Scott 70192cda1a Merge pull request #3305 from bacongobbler/add-amd-arch-to-get
add amd, ppc64le, and windows OS/architectures
2018-01-09 10:00:54 -08:00
Adam Reese a31e3b8fe1 ref(*): kubernetes v1.9 support (#3234) 2018-01-05 12:30:26 -08: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
Matthew Fisher 87dd64c2fd Merge pull request #2899 from hchenxa/hchenxa
fix unbound variable issue when get version
2017-09-12 20:13:12 -07:00
Hui Chen 895e8d086f fix unbound variable issue when get version 2017-09-12 09:34:53 +08:00
Adam Reese 8e13a5bd1f fix(ci): move deploy instructions to build job
https://circleci.com/docs/2.0/configuration-reference/#deploy
2017-09-08 12:23:32 -07: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
Adam Reese 845e990143 feat(*): use kubernetes 1.7 2017-07-07 09:13:57 -07: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
peay a9fa9282e1 Add --force to upgrade and rollback (generated changes) 2017-05-26 17:07:13 -04:00
Matt Butcher 3c97db803f ref(docs): remove unnecessary docs and clean up doc generator 2017-05-24 15:27:21 -06:00
Matt Butcher 28ec92355b fix(helm): add --devel flag to allow dev releases again
2.4.0 stopped installing development versions by default. This allows
the user to re-enable that support by setting --devel.

Closes #2407
2017-05-17 12:26:58 -06:00
Sushil Kumar ff42dadde4 Adds update option to plugin command (#2410)
* Adds update option to plugin command

Fixes issues/2385 - helm install silently updates the plugin, if it pre-existed

* Added tests for new methods for plugin update

* Updated docs

* Updated review comments :)

* Return error exit code when there is error
2017-05-16 11:07:15 -06:00
ReSearchITEng f85118d1ec added possibility to set desired install version. See issue #2380 2017-05-03 09:36:09 +00:00
Sushil Kumar d13b134ffb Implements --repo flag to commands fetch, install, inspect, upgrade 2017-05-02 10:46:16 -07:00
Michelle Noorali 3f22e407cd Merge pull request #2365 from michelleN/feat/2224-service-account-flag
feat(helm): add service account flag to helm init
2017-05-02 10:16:44 -04:00
Adam Reese c7f0edd3d2 Merge pull request #2353 from SlickNik/nm_zsh_completions
Add support for zsh to helm completion
2017-05-01 15:33:06 -07:00
Michelle Noorali 64e9e47183 feat(helm): add service account flag to helm init
helps with half of #2224
2017-05-01 14:02:04 -04:00
Nikhil Manchanda 49e7aa854a Add support for zsh to helm completion
Updated the 'helm completion' command to take in the shell
as a parameter. Currently acceptable options are 'bash' and
'zsh'. Also fixed the completions to work with zsh in a manner
similar to what kubectl does.

Also updated the docs to reflect this change.

Closes #2201
2017-04-30 23:25:03 -07:00
Adam Reese 074d2eb711 chore(scripts): remove unsupported local-cluster script 2017-04-27 23:22:37 -07:00
Jorge Marin 18fc8a8539 Update comment in function 2017-04-25 08:26:22 +00:00