Hui Chen
895e8d086f
fix unbound variable issue when get version
7 years ago
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 )
7 years ago
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
7 years ago
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 !
7 years ago
Tony Fahrion
974c4b67c7
fix scripts/get runAsRoot CMD var building
...
Avoid using $* multiple times
7 years ago
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.
7 years ago
ReSearchITEng
f85118d1ec
added possibility to set desired install version. See issue #2380
8 years ago
Jorge Marin
18fc8a8539
Update comment in function
8 years ago
Jorge Marin
6adf7d59de
Print escaped chars
8 years ago
Jorge Marin
e114807c45
Use '-SsL' for all 'curl' calls to get response using SSL, silently and following reedirections
8 years ago
Jorge Marin
037ff5b51c
Replace call to Github HTTP API with normal Github URL
8 years ago
Leszek Charkiewicz
0d399baec2
Add checking installed helm version before downloading latest release
...
This change prevents downloading the same version as already installed.
8 years ago
Matt Butcher
48c1ba5355
Merge pull request #1545 from mattfarina/feat/1543-charts-domain-change
...
feat(charts): Move bucket to domain from path
8 years ago
Wayne Brantley
1f17788d8e
use openssl instead of shasum
...
shasum is not on many platforms (like centos), use openssl instead.
8 years ago
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.
8 years ago
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.
8 years ago
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
8 years ago