Commit graph

697 commits

Author SHA1 Message Date
Matthew Fisher
1aee50f5db move pkg cmd/helm/strvals to pkg/strvals
This is another useful package outside of cmd/helm.
2017-03-09 14:05:33 -08:00
Matt Butcher
3be8dfd818 Merge pull request #2068 from nokia/move-to-pkg
Fixing pkg->cmd call by moving helmpath under /pkg
2017-03-09 15:00:44 -07:00
libesz
0537b08779 helmpath goes under /pkg/helm/ 2017-03-08 20:09:46 +01:00
libesz
024fc5c806 Fixing pkg->cmd call by moving helmpath under /pkg
When downloader package moved to under /pkg, helmpath functions got called still from it, while it is under /cmd. This commit fixes the issue by moving helmpath after the downloader to have only cmd->pkg and pkg->pkg calls.
2017-03-04 21:37:18 +01:00
Qin Wang
ee5dab9cb3 Fix helm dep list reporting wrong status
Version matching is used for checking status of subcharts.
closes: #2056
2017-03-03 22:17:25 -08:00
Michelle Noorali
59bb5aa1b8 Merge pull request #2028 from qwangrepos/issue-2020
local path repo verbose - issue #2020
2017-03-01 20:39:02 -05:00
Matt Butcher
0dda8283f1 Merge pull request #2045 from lkysow/patch-1
Fix typo singing -> signing
2017-03-01 10:27:20 -07:00
Matt Butcher
e74772f1ab Merge pull request #2021 from technosophos/feat/2019-dep-up-skip-refresh
feat(helm): add --skip-refresh flag to 'helm dep up'
2017-03-01 10:25:25 -07:00
Luke Kysow
cbe372b8b1 Fix typo singing -> signing 2017-02-28 15:52:44 -08:00
Tao Zhou
e0596ec4c3 fix(helm): add message if release deleted successfully
kubernetes has explicit delete message that user can know resources being deleted for sure,
suggest also add this behavior to helm, as it is too 'quiet' for deletion operation right now.
2017-02-27 18:10:44 +08:00
Qin Wang
0bef00078c local path repo verbose - issue #2020
Enable --debug flag to print debugging information when use
helm dep update --debug

closes #2020
2017-02-24 16:18:49 -08:00
Matt Butcher
de678a25e3 Merge pull request #2002 from qiujian16/1992
Add --url option to helm serve
2017-02-23 17:36:57 -07:00
Matt Butcher
f7b010a140
feat(helm): add --skip-refresh flag to 'helm dep up'
This makes it possible to do a `dep up` without refetching all of
the repositories.While it's less safe, it's useful when doing many
updates in a short period of time (such as in a CI/CD setting)

Closes #2019
2017-02-23 17:22:03 -07:00
Matt Butcher
81dbdeb108
feat(helm): allow disabling plugins
This adds an environment variable, HELM_NO_PLUGINS, that can disable
the plugin system from loading plugins. It provides a general way for
turning the plugin system off.

Closes #1624
2017-02-21 19:45:48 -07:00
Jian Qiu
95cdc705af Add --url option to helm serve
This PR is to add --url flag for helm serve, so that
urls in index.yaml will be changed to the corresponding value.
2017-02-22 10:41:16 +08:00
Matt Butcher
4829fad3a3
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-15 12:30:13 -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