Commit Graph

14 Commits

Author SHA1 Message Date
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