Adam Reese
21d3a40f3b
feat(tests): replace gometalinter with golangci-lint
...
Signed-off-by: Adam Reese <adam@reese.io>
6 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
Adam Reese
4f26b658d8
change copyright to "Copyright The Helm Authors"
6 years ago
Matthew Fisher
195d21d5d7
ref(cmd): rename `helm delete` to `helm uninstall`
...
To match the convention of `helm install`, `helm uninstall` is the inverse.
Other tangential changes in this PR:
- StatusDeleting has been changed to StatusUninstalling
- StatusDeleted has been changed to StatusUninstalled
- `helm list --deleted` has been changed to `helm list --uninstalled`
- `helm list --deleting` has been changed to `helm list --uninstalling`
- `helm.DeleteOption` and all delete options have been renamed to `helm.UninstallOption`
I have not made any changes to the "helm.sh/hook-delete-policy", "pre-delete" and "post-delete" hook annotations because
1. it's a major breaking change to existing helm charts, which we've commited to NOT break in Helm 3
2. there is no "helm.sh/hook-install-policy" to pair with "helm.sh/hook-uninstall-policy", so delete still makes sense here
`helm delete` and `helm del` have been added as aliases to `helm uninstall`, so `helm delete` and `helm del` still works as is.
7 years ago
Adam Reese
840c489c6b
feat(dep): replace glide with dep
7 years ago
Adam Reese
9aa398a7c5
chore(hapi): add missing license headers
7 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
Arturo Contreras
a615f80c92
Adding --set-string flag to force string values.
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
Adam Reese
31e6446b8e
ref(glide): remove need for scripts/setup-apimachinery.sh ( #3446 )
7 years ago
Justin Scott
70192cda1a
Merge pull request #3305 from bacongobbler/add-amd-arch-to-get
...
add amd, ppc64le, and windows OS/architectures
7 years ago
Adam Reese
a31e3b8fe1
ref(*): kubernetes v1.9 support ( #3234 )
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
Matthew Fisher
87dd64c2fd
Merge pull request #2899 from hchenxa/hchenxa
...
fix unbound variable issue when get version
7 years ago
Hui Chen
895e8d086f
fix unbound variable issue when get version
7 years ago
Adam Reese
8e13a5bd1f
fix(ci): move deploy instructions to build job
...
https://circleci.com/docs/2.0/configuration-reference/#deploy
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
Adam Reese
845e990143
feat(*): use kubernetes 1.7
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
peay
a9fa9282e1
Add --force to upgrade and rollback (generated changes)
8 years ago
Matt Butcher
3c97db803f
ref(docs): remove unnecessary docs and clean up doc generator
8 years ago
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
8 years ago
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
8 years ago
ReSearchITEng
f85118d1ec
added possibility to set desired install version. See issue #2380
8 years ago
Sushil Kumar
d13b134ffb
Implements --repo flag to commands fetch, install, inspect, upgrade
8 years ago
Michelle Noorali
3f22e407cd
Merge pull request #2365 from michelleN/feat/2224-service-account-flag
...
feat(helm): add service account flag to helm init
8 years ago
Adam Reese
c7f0edd3d2
Merge pull request #2353 from SlickNik/nm_zsh_completions
...
Add support for zsh to helm completion
8 years ago
Michelle Noorali
64e9e47183
feat(helm): add service account flag to helm init
...
helps with half of #2224
8 years ago
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
8 years ago
Adam Reese
074d2eb711
chore(scripts): remove unsupported local-cluster script
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
Matt Butcher
5af676cda1
Merge pull request #2287 from jascott1/2222/nethost_tiller
...
feat(tiller): add --net-host flag to 'helm init'
8 years ago
Shane Starcher
7150fc3d9e
bug(helm) - install/upgrade/search semver constraint support
8 years ago
Justin Scott
85b7890bfd
Add docs for new init flag 'net-host'.
8 years ago
Sushil Kumar
2e8d2c0178
Docs updated for new flags
8 years ago
Adam Reese
a92a36762c
docs(*): generate latest docs
8 years ago
Adam Reese
6bcd19d519
fix(scripts): don't include plugins for generating docs
8 years ago
Adam Reese
986d21b8ac
Merge pull request #2245 from cblecker/verify-docs
...
docs(*): Add ci script to confirm docs are up to date with commits
8 years ago
Christoph Blecker
190e5c82dd
Update docs
8 years ago
Christoph Blecker
797800a289
Add docs-verify script
8 years ago
Adam Reese
85c41ef11a
ref(*): kubernetes v1.6
...
Rebase on kubernetes v1.6
8 years ago
Adam Reese
41f7277615
fix(ci): disable gosimple
...
gosimple seems to be eating all memory in CircleCI. Testing disabling
the check to see if CI builds.
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
Christoph Blecker
ea63663455
Regenerate docs
8 years ago
Christoph Blecker
7b1a383950
Add script to clean homedir out of docs
8 years ago
Ladicle
84e014026c
fix(local-cluster): fix missing variable option
...
`unbound variable` error occurs when docker-machine is not used.
8 years ago
Christoph Blecker
5f981ad96f
Regenerate docs
8 years ago
Adam Reese
052cfe1640
fix(ci): do not push canary image on release
8 years ago
Matt Butcher
aca9f86df6
feat(helm): add command to generate documentation
...
This adds a hidden 'helm doc' command that generates documentation out
of the Helm help text.
Currently it can create:
- man pages for HELM(1)
- Markdown documentation
- bash autocompletions
Those are the three built-ins for Cobra.
The command is hidden so that it doesn't show up to the regular user,
since this is really a specialized task. It has the advantage of making
it trivially easy to install man pages and bash completion at installation time.
8 years ago
Adam Reese
2c0af5fffd
Merge pull request #1550 from mattfarina/feat/gometalinter-versioned
...
feat(gometalinter): Move to versioned releases
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
d2fa03969c
feat(gometalinter): Move to versioned releases
...
gometalinter has moved to versioned releases. The latest of the v1
major versioned releases can be retrieved through pkg.in. This
change moves gometalinter use to the latest v1 release.
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
Adam Reese
cf965e2426
fix(scripts): increase deadline for linter
8 years ago
Adam Reese
7f4fd4efbb
ref(ci): cleanup ci deploy
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
Adam Reese
e11fb39f6d
fix(ci): ensure go packages are compiled before testing
...
Attempt for build speed record
8 years ago
Adam Reese
72dd427d07
ref(scripts): use gometalinter for linters
8 years ago
Adam Reese
7ef5751529
fix(ci): disable running coverage in parallel
...
Running in parallel will crash a circle ci node. Disabling until we can
build in some safeguards.
8 years ago
Adam Reese
f44f6780fc
feat(ci): validate license block in source files
8 years ago
Adam Reese
870918d1e5
feat(ci): run test coverage in parallel
...
```
./scripts/coverage.sh 37.25s user 4.15s system 144% cpu 28.615 total
```
```
./scripts/coverage.sh 47.96s user 6.77s system 567% cpu 9.647 total
```
8 years ago
Adam Reese
e64223664f
fix(ci): ensure godir is installed for coverage
8 years ago
Adam Reese
ebffaadba7
feat(ci): setup test coverage reports with coveralls.io
8 years ago
Adam Reese
c5682803cf
fix(ci): move docker-build out of parallel step
...
circle ci can't seem to find the image when it is build in a parallel
container.
8 years ago
Adam Reese
7223e33deb
fix(ci): add docker-build to the parallel builds
8 years ago
Adam Reese
8cb940a7f4
Merge pull request #929 from adamreese/fix/local-cluster
...
fix(scripts): update local-cluster.sh to work with v1.3
8 years ago
Adam Reese
eba297714f
fix(scripts): update local-cluster.sh to work with v1.3
8 years ago
Adam Reese
f89b6ce761
feat(ci): setup parallel testing
8 years ago
Matt Butcher
e757b24aed
fix(*): add license header
9 years ago
Michelle Noorali
522af15903
feat(scripts): add script to sync repo
9 years ago
Adam Reese
a6d675db49
fix(local-cluster): fix missing namespace issue
...
hyperkube tries to create the components in a namespace that does not
exist.
9 years ago
Adam Reese
a4b73c208e
feat(local-cluster): add option to use alpha releases
9 years ago
Adam Reese
1a8e9cd46f
fix(local-cluster): check to see if kubelet is running
9 years ago
Adam Reese
86301081be
fix(local-cluster): use correct dns ip addr
9 years ago
Adam Reese
bd61e3ab86
fix(golint): fix printing blank lines
9 years ago
Matt Butcher
b5aebe41e9
fix(Makefile): skip gofmt on proto gen code
9 years ago
Adam Reese
9e24283235
feat(local-cluster): add kubernetes startup script
9 years ago
Adam Reese
5207186ee9
fix(scripts): go vet is built into go
9 years ago
Adam Reese
6092f01fac
feat(Makefile): add Makefile
9 years ago