Commit graph

671 commits

Author SHA1 Message Date
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
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
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
Matt Butcher
c32b2ddcdf
feat(helm): add --reset-values flag to 'helm upgrade'
The --reset-values flag on upgrade instructs Tiller to reset the
upgraded release to the chart's built-in values.yaml, and ignore the
last install's overridden values.

Closes #1569
2017-01-10 18:56:14 -07:00
Matt Butcher
6d6e88a86e Merge pull request #1766 from gravitational/http-client-tls
Http client with TLS
2017-01-10 13:28:01 -07:00
Anton Galitsyn
f8a261f277 use old naming 2017-01-09 18:25:37 +07:00
Anton Galitsyn
685e730ba8 create repo.Getter interface 2017-01-09 17:53:33 +07:00
Anton Galitsyn
8a1d43ec3f check the error that WriteFile returns 2017-01-09 09:49:11 +07:00
Anton Galitsyn
e3f39f30bf rename URLAreEqual func 2017-01-09 09:48:51 +07:00
Adam Reese
76b3d1e1e2 fix(tests): fix testclient reactions that were not triggering 2017-01-05 23:38:56 -08:00
Adam Reese
a2543f87aa Merge pull request #1784 from adamreese/ref/code-cleanup
ref(*): remove dead code
2017-01-05 15:55:07 -08:00
Adam Reese
f763c88fe4 Merge pull request #1786 from mortenlj/master
Add `--upgrade` option to `init`. Fixes #1782.
2017-01-05 15:53:51 -08:00
Adam Reese
6f023b324c Merge pull request #1789 from adamreese/fix/tiller-ns-envar
fix(tiller): s/POD_NAMESPACE/TILLER_NAMESPACE/
2017-01-05 15:25:28 -08:00
Adam Reese
b666b3ddeb fix(tiller): s/POD_NAMESPACE/TILLER_NAMESPACE/ 2017-01-05 15:08:26 -08:00