682 Commits
Author SHA1 Message Date
Matt Butcher b4db4fa5d4 fix(helm): fix broken cache paths in repositories
A regression was committed during 2.2.0 that broke the repositories.yaml
file format, switching the cache path from relative to absolute. This
fixes the error.

Closes #1974
2017-02-16 16:08:33 -07:00
Taylor Thomas 8dfea91056 Merge pull request #1923 from qwangrepos/local-path
feat(helm): add local path support for deps in requirements.yaml
2017-02-13 14:24:04 -08:00
Vaughn Dice 4a57b01a47 feat(helm): add cleanup flag to test command 2017-02-13 15:02:49 -07:00
Qin Wang d72ff65325 feat(helm): add local path support for deps in requirements.yaml
The following commands:
helm dep update
helm dep build
are now able to take a requirements.yaml with dependency charts' repo defined as:
file://../local/path or file:///root/path

closes: #1884
2017-02-13 21:28:42 +00:00
Matt Butcher eadd830d01 Merge pull request #1940 from wilkers-steve/fix/miss_dep_warning
fix(helm): add warnings for missing chart dependencies
2017-02-13 11:18:05 -07:00
Matt Butcher 5618afe3d4 Merge pull request #1922 from larryrensing/feat/list-namespaces
feat(*): add --namespace flag to 'helm list'
2017-02-13 11:14:50 -07:00
wilkers-steve 91e820320f Merge branch 'master' into fix/miss_dep_warning 2017-02-12 21:16:43 -06:00
Steve Wilkerson 98310a915f fix(helm): add warnings for missing chart dependencies
When 'helm install', 'helm package', and 'helm upgrade' are run,
Helm will not issue any warnings if any dependencies listed in
a chart's requirements.yaml file are missing.  This change includes
warnings when a chart is found in requirements.yaml but isn't
in charts/.

Closes #1567
2017-02-12 21:15:04 -06:00
Matt Butcher 5d6aeac613 Merge pull request #1938 from nokia/move-to-pkg
Fixes #1898: Proposal: move downloader and resolver package to /pkg
2017-02-10 14:17:45 -07:00
Adam Reese 0f461ba8b5 feat(kube): use jsonpatch to update ThirdPartyResources 2017-02-10 11:46:04 -08:00
Gergo Huszty a32f71c735 Merge branch 'master' of https://github.com/kubernetes/helm into move-to-pkg 2017-02-10 14:10:46 +00:00
Gergo Huszty 17c9e220b0 Fixes #1898: Proposal: move downloader and resolver package to /pkg 2017-02-10 10:33:02 +00:00
Larry Rensing 294d18d567 Merge remote-tracking branch 'upstream/master' into feat/list-namespaces 2017-02-09 12:17:20 -06:00
Larry Rensing 8cb931925e Merge remote-tracking branch 'upstream/master' into feat/list-namespaces 2017-02-09 12:00:37 -06:00
Matt Butcher ed7bb41973 Merge pull request #1928 from vdice/add-last-test-suite-run-to-status
feat(cmd/helm/status): add last test suite run to status output
2017-02-08 15:30:00 -07:00
Taylor Thomas 977ceb9b5f Merge pull request #1882 from bacongobbler/1712-portforwarder
move newTillerPortForwarder to pkg/helm/portforwarder
2017-02-08 10:35:50 -08:00
Matt Butcher 67eb017bd0 Merge pull request #1913 from technosophos/fix/1864-delete-old-deps
fix(helm): delete outdated deps
2017-02-08 10:16:54 -07:00
Vaughn Dice 140caa081b feat(cmd/helm/status): add last test suite run to status output 2017-02-08 09:54:25 -07:00
Michelle Noorali c7e2d186a5 Merge pull request #1777 from michelleN/feat/1163-chart-testing
feat(*): add helm test initial framework
2017-02-08 09:28:32 -05:00
Matt Butcher 257f12095f fix(helm): fix broken unit test
I recently added a test to check the sorting of search results.
Unfortunately, the test didn't actually sort the results (_sigh_), so
it was failing occasionally on map ordering.

This adds the sort function that is supposed to be tested.

Closes #1925
2017-02-07 18:22:58 -07:00
Larry Rensing 3a380923f4 feat(*): add --namespace flag to 'helm list'
Users can now specify a namespace filter for 'helm list'.  Only the
releases within the specified namespace will be shown.  For example,
'helm list --namespace foo' will only show releases for the 'foo'
namespace.  Also added a namespace field to the table view.

Closes #1563
2017-02-07 10:20:28 -06:00
Michelle Noorali 538e8297ef ref(*): add namespace info to failing test msg
* also cleanup comments
2017-02-06 10:39:57 -05:00
Lachlan Evenson ff7d3394f6 (bugfix/cmd/helm/history): update history table MaxColWidth to match that of
list command
2017-02-03 16:02:23 -08:00
Adam Reese 377639c803 Merge pull request #1907 from adamreese/ref/proto-cleanup
ref(hapi): remove never used proto field
2017-02-03 15:53:33 -08:00
Matt Butcher 91da555c85 fix(helm): delete outdated deps
This fixes a bug in 'helm dep up' which left old versions of a
dependency after an update.

Closes #1864
2017-02-03 15:52:16 -07:00
Matt Butcher e7fc7a4efa Merge pull request #1849 from iamzhout/master
fix(helm) add missing manifest header for `helm init --dry-run --debug`
2017-02-03 10:42:13 -07:00
Adam Reese fd210dfd30 ref(hapi): remove never used proto field 2017-02-02 19:45:13 -08:00
Matt Butcher 33ccd6b2c9 Merge pull request #1855 from technosophos/fix/1845-dep-up-failure
fix(helm): fix 'helm dep up' to fetch by URL
2017-02-02 17:07:56 -07:00
Matthew Fisher 704bc47225 move newTillerPortForwarder to pkg/helm/portforwarder 2017-02-02 15:28:42 -08:00
Michelle Noorali e95a0570ad chore(pkg/releasetesting): add test_suite tests
* and comments
2017-02-02 11:57:11 -05:00
Matt Butcher f018364f91 fix(helm): fix sort order on helm search
During search index construction, records were not correctly sorted by
version number, which resulted in the wrong records being inserted into
the index.

Along the way, added tests and fixed a few comments.

Closes #1897
2017-02-01 17:17:49 -07:00
Matt Butcher adc18e2463 fix(helm): fix 'helm dep up' to fetch by URL
A regression was introduced which required chart download URLs have the
same URL prefix as the chart repo that referenced them. A second
regression transformed that URL into a request for the latest version of
that chart, sidestepping semver constraints.

This fix closes both issues, which were present in the same function.

Closes #1845
Closes #1846
2017-02-01 09:14:09 -07:00
Michelle Noorali e132191275 ref(pkg/): refactor helm test logic
pulled logic out in pkg/releasetesting
2017-02-01 10:55:58 -05:00
Vaughn Dice 9bd12953a9 feat(*): add kube client test
* for WaitAndGetCompletedPodPhase
2017-01-31 20:57:28 -05:00
Michelle Noorali 58c05f87d7 feat(*): stream helm test messages to client 2017-01-31 20:57:28 -05:00
Michelle Noorali d46d63a8f7 feat(*): add helm test command mvp
* This is a simple mvp which processes a test definition with the
hook annotation for test when you run `helm test [release]`
* helm client cmd, proto def, tiller logic
2017-01-31 20:57:27 -05:00
Matt Butcher 756cb970bd feat(tiller): record a message for each lifecycle step
This adds a simple description for each lifecycle step on a release
object.

Closes #1661
2017-01-31 16:26:35 -07:00
Adam Reese d97f44e3a0 feat(tiller): print tiller version on startup 2017-01-30 20:06:33 -08:00
Ferran Rodenas 074d746c95 Add reset command to uninstall Tiller 2017-01-27 10:24:44 +01:00
Taylor Thomas e440a36d95 Merge pull request #1820 from thomastaylor312/feat/add_wait
feat(*): Add --wait flag
2017-01-26 11:40:39 -08:00
Manjunath A Kumatagi 851ca79cc2 Fix SIGSEGV fault 2017-01-25 04:58:21 -08:00
Matt Butcher 4a69e0c776 Merge pull request #1842 from bacongobbler/install-from-chart
add InstallReleaseFromChart and UpdateReleaseFromChart
2017-01-24 14:55:48 -07:00
Matthew Fisher dad40fcbe0 add InstallReleaseFromChart and UpdateReleaseFromChart
When using pkg/helm as a third party client, I am using chartutil.LoadArchive()
to load a chart from an io.Reader. After that is loaded I wish to install/update that
chart, however InstallRelease and UpdateRelease only accepts a path rather than
something of type *chart.Chart. This adds a new function called InstallReleaseFromChart
which allows one to load a chart separate from the path, then install said chart.
2017-01-23 15:39:03 -08:00
Ferran Rodenas cc0f460033 Fake tillerHost at version cmd tests
Version cmd tries to set up a tunnel at RunE instead of using the
PersistentPreRunE. That means that for each version test (3) it
tries to set up the tunnel. When running the tests on an internetless
or whithout a valid k8s environment, the tunnel will fail with a
timeout of 20 seconds, meaning that it will take 60 seconds to
run the test.

This commit adds a fake tillerHost so it will not try to setup the
tunnel.
2017-01-21 19:32:21 +01:00
z00358552 b6b1459b90 fix(helm) add missing manifest header for helm init --dry-run --debug 2017-01-21 11:50:49 +08:00
Taylor Thomas 7ef9bb6f71 feat(*): Add --wait flag
Adds `--wait` flag to helm that waits for all pods to reach a ready
state, PVCs to be bound, and services to have IP addresses

Closes #1805
2017-01-19 18:10:28 -08:00
Matt Butcher 9652651ba9 Merge pull request #1814 from technosophos/feat/1569-reset-values
feat(helm): add --reset-values flag to 'helm upgrade'
2017-01-19 10:18:43 -07:00
Christoph Blecker 5b2cf3930b Fix type in help text for list cmd 2017-01-15 12:19:12 -08:00
Ferran Rodenas d90a3a2260 Create a Service definition for using Tiller in-cluster 2017-01-13 19:00:21 +01:00
Ferran Rodenas bd4fc39950 Allow specifying --set multiple times 2017-01-12 00:57:09 +01:00