Matthew Fisher
0087d83807
fix(scripts): scrape for the latest v2/v3 release from the releases page
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
3e77ca22c7
fix(get): hard code DESIRED_VERSION when unset
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
06a5eb2272
fix(get): install Helm v2.16.1
...
This is a temporary fix. This prevents the get script from installing Helm 3 as soon as it's released, potentially causing disruption to users that were expecting a Helm 2 release.
A `get-helm-3` script is also supplied, which is identical to the previous `get` script. That way, Helm 3 users also have an equivalent way to install Helm 3.
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
af498be38b
fix(scripts): update get script
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
Matthew Fisher
eb1ba03e24
update links to get.helm.sh
...
Signed-off-by: Matthew Fisher <matt.fisher@microsoft.com>
5 years ago
roc
79f88dfc5e
ref(url) update helm's github url ( #4962 )
...
https://github.com/kubernetes/helm -> https://github.com/helm/helm
https://github.com/kubernetes/charts -> https://github.com/helm/charts
Signed-off-by: Roc Chan <roc@imroc.io>
6 years ago
ReSearchITEng
09e0ab1809
closes #3795
...
closes #3795
7 years ago
Ferenc-
908addd6fc
Fix HTML parsing when setting TAG with wget
...
Now the parsing part is the same as in the curl scenario
7 years ago
Michal Zerola
08a92b23d1
Fixed referencing the wrong env variable if SHA sum doesn't match.
7 years ago
Matthew Fisher
0935384bd5
remove "This Repository" link from releases page
7 years ago
Matthew Fisher
5cb0eb5e3b
add amd, ppc64le, and windows OS/architectures
7 years ago
Matthew Fisher
55ab4b8664
Merge pull request #2986 from goostleek/bug/installation-script-fix
...
Installation shell script fix
7 years ago
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`
7 years ago
Marcin Kłopotek
9a42d71898
Review fixes applied
7 years ago
Marcin Kłopotek
b9e542666a
Installation script was not compatible with Alpine Linux
7 years ago
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
7 years ago
Marcin Kłopotek
42bc36d240
Fixes shell installation script #2977
7 years ago
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
7 years ago
Jorge Marin
18fc8a8539
Update comment in function
7 years ago
Jorge Marin
6adf7d59de
Print escaped chars
7 years ago
Jorge Marin
e114807c45
Use '-SsL' for all 'curl' calls to get response using SSL, silently and following reedirections
7 years ago
Jorge Marin
037ff5b51c
Replace call to Github HTTP API with normal Github URL
7 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