Commit Graph

69 Commits

Author SHA1 Message Date
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
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
Matt Butcher 5af676cda1 Merge pull request #2287 from jascott1/2222/nethost_tiller
feat(tiller): add --net-host flag to 'helm init'
2017-04-19 13:59:25 -06:00
Shane Starcher 7150fc3d9e bug(helm) - install/upgrade/search semver constraint support 2017-04-18 18:10:48 -04:00
Justin Scott 85b7890bfd Add docs for new init flag 'net-host'. 2017-04-18 14:43:42 -07:00
Sushil Kumar 2e8d2c0178 Docs updated for new flags 2017-04-13 12:27:32 -07:00
Adam Reese a92a36762c docs(*): generate latest docs 2017-04-12 13:00:30 -07:00
Adam Reese 6bcd19d519 fix(scripts): don't include plugins for generating docs 2017-04-12 12:59:30 -07:00
Adam Reese 986d21b8ac Merge pull request #2245 from cblecker/verify-docs
docs(*): Add ci script to confirm docs are up to date with commits
2017-04-12 12:31:17 -07:00
Christoph Blecker 190e5c82dd
Update docs 2017-04-12 12:24:40 -07:00
Christoph Blecker 797800a289
Add docs-verify script 2017-04-12 12:22:17 -07:00
Adam Reese 85c41ef11a ref(*): kubernetes v1.6
Rebase on kubernetes v1.6
2017-04-11 15:42:23 -07:00
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.
2017-03-22 13:08:34 -07: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
Christoph Blecker ea63663455
Regenerate docs 2017-03-11 16:06:56 -08:00
Christoph Blecker 7b1a383950
Add script to clean homedir out of docs 2017-03-11 13:09:27 -08:00
Ladicle 84e014026c fix(local-cluster): fix missing variable option
`unbound variable` error occurs when docker-machine is not used.
2017-02-17 19:52:11 +09:00
Christoph Blecker 5f981ad96f
Regenerate docs 2017-01-15 12:24:37 -08:00
Adam Reese 052cfe1640 fix(ci): do not push canary image on release 2016-12-01 10:37:40 -08:00
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.
2016-11-29 15:08:24 -07:00
Adam Reese 2c0af5fffd Merge pull request #1550 from mattfarina/feat/gometalinter-versioned
feat(gometalinter): Move to versioned releases
2016-11-15 10:53:10 -08: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 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.
2016-11-14 19:13:51 -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
Adam Reese cf965e2426 fix(scripts): increase deadline for linter 2016-11-11 10:14:40 -08:00
Adam Reese 7f4fd4efbb ref(ci): cleanup ci deploy 2016-11-03 17:29:06 -07: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
Adam Reese e11fb39f6d fix(ci): ensure go packages are compiled before testing
Attempt for build speed record
2016-10-19 08:30:29 -07:00
Adam Reese 72dd427d07 ref(scripts): use gometalinter for linters 2016-10-10 14:20:01 -07:00
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.
2016-08-10 13:08:24 -07:00
Adam Reese f44f6780fc feat(ci): validate license block in source files 2016-07-25 00:11:06 -07:00