Commit Graph

805 Commits

Author SHA1 Message Date
Michelle Noorali
29c4709b5e Merge pull request #2550 from michelleN/export-fake-release-client
ref(helm): make FakeReleaseClient public
2017-06-23 14:38:36 -04:00
Michelle Noorali
8a99a4aa6f ref(helm): rename FakeReleaseClient -> FakeClient 2017-06-21 20:27:14 -04:00
Sushil Kumar
f476f83e83 <chart>.tgz will now be downloaded to "$HELM_HOME/cache/archive" directory (#2558)
* <chart>.tgz  will now be downloaded to "$HELM_HOME/cache/archive" directory

Fixes https://github.com/kubernetes/helm/issues/2142

* Added archive location to helm init
2017-06-19 10:26:42 -07:00
Adam Reese
a658d24ccd ref(tiller): refactor out cobra from tiller 2017-06-11 19:39:58 -07:00
Adam Reese
401f8bcc18 Merge pull request #2563 from adamreese/ref/code-cleanup
ref(helm): mix bag of syntax cleanup in cmd/helm
2017-06-09 09:57:39 -07:00
Matt Butcher
ecef026b68 Merge pull request #2545 from technosophos/feat/set-list-index
feat(helm): support array index format for --set.
2017-06-08 14:34:26 -06:00
Adam Reese
b671077de1 ref(helm): mix bag of syntax cleanup in cmd/helm 2017-06-08 13:08:41 -07:00
Steven E. Harris
9f9b3e8729 Use versioned API types from the client-go library (#2524)
* Use versioned API types from the client-go library

Wherever possible, use the k8s.io/client-go/kubernetes.Interface type
in favor of the client-related types from package

  k8s.io/kubernetes/pkg/client/clientset_generated/internalclientset

The latter are still required by the kubectl "reaper" types used in
the "installer" and "kube" packages.

* Accept the default deployment replica count of one

Don't bother requesting a single replica explicitly.
2017-06-08 12:30:59 -07:00
Matt Butcher
c01c7318ab feat(helm): support array index format for --set.
This adds support for specifying list position with an array index using
`--set`. For example, this now works: `--set servers[0].port=8080`
2017-06-08 12:15:03 -06:00
Taylor Thomas
eb2882d750 Merge pull request #2549 from thomastaylor312/fix/broken_unit_test
fix(tests): Fixes broken unit test
2017-06-07 10:06:41 -07:00
Adam Reese
a98f701a62 Merge pull request #2553 from adamreese/fix/helm-home-stdout
fix(helm): helm home print to stdout
2017-06-07 09:36:31 -07:00
Adam Reese
985dbae2ac fix(helm): helm home print to stdout
cobra prints to stderr by default
2017-06-07 08:53:23 -07:00
Michelle Noorali
70520efac4 ref(helm): make FakeReleaseClient public
so it can be used by other projects that
use the helm client
2017-06-07 01:37:55 -04:00
Taylor Thomas
5cfb4e8cf8 fix(tests): Fixes broken unit test
The new unit test was not passing an explict subcommand arg to the
root command in the unit test.
2017-06-06 22:17:26 -07:00
Matt Butcher
52a3405b1e Merge pull request #2542 from sushilkm/issues/2128
Allow updating chart dependencies when packaging a chart
2017-06-06 16:39:33 -06:00
Sushil Kumar
4ddd832f35 Use download manager directly 2017-06-06 15:24:43 -07:00
Taylor Thomas
8a0e051c1d fix(helm): Ensures tiller pod lands on a linux node
Without a node selector to ensure that tiller deploys on a linux node,
the tiller pod can have issues starting in a mixed cluster.

Fixes #2420
2017-06-05 22:46:09 -07:00
willise
c8b8c1e6d6 fix(helm): modify helm repo update help info
The former help info may cause misunderstanding that this command
can update content of charts existing in remote respositories while
it does pull charts' info from remote repositories.

This trivial modification leads better understanding.
2017-06-06 10:45:22 +08:00
Sushil Kumar
09bedff7d5 Allow updating chart dependencies when packaging a chart
Added -u flag that would cause helm dep up before running helm package

Fixes https://github.com/kubernetes/helm/issues/2128
2017-06-05 16:34:08 -07:00
Adam Reese
faf560c552 tests(helm): add unit tests for setting HELM_HOME 2017-05-29 17:59:43 -07:00
Adam Reese
d797acbd7b fix(helm): fix race conditions in flag parsing
* fix a number of issues with flag parsing
* add support for `HELM_DEBUG`
* lazy expand flag default envars
2017-05-29 17:58:27 -07:00
peay
0f26cc5522 Add --force to upgrade and rollback 2017-05-26 17:04:57 -04:00
Taylor Thomas
3ed1ccf5dc Merge pull request #2481 from sushilkm/issues/2480
Errors out if install/upgrade fails to load-requirements
2017-05-25 11:39:53 -07:00
Sushil Kumar
f80a7aa384 Added tests for install/upgrade to test bad requirements.yaml 2017-05-25 11:24:03 -07:00
Sushil Kumar
62fa6f3d01 helm reset --force would clean a failed tiller deployment
- [ ] Fixes https://github.com/kubernetes/helm/issues/2441
2017-05-25 10:24:00 -07:00
Sushil Kumar
18f900e443 Errors out if install/upgrade fails to load-requirements
Fixes https://github.com/kubernetes/helm/issues/2480
2017-05-22 15:29:02 -07:00
Adam Reese
15254e4c5c feat(*): add generic logging interface (#2394)
Adds a generic logging interface to importable packages.
2017-05-19 11:43:04 -07:00
Matt Butcher
4d5bffecbd Merge pull request #2462 from michelleN/test-failures
fix(helm): fix itermittent release testing failures
2017-05-19 11:00:00 -06:00
Adam Reese
9832e7df96 fix(helm): fix setting home via helm --home=HOME 2017-05-18 14:15:58 -07:00
Michelle Noorali
19a33b3f95 fix(helm): fix itermittent release testing failures 2017-05-17 18:54:12 -04: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
Michelle Noorali
a53c29aee7 Merge pull request #2425 from michelleN/helm-test-error-codes
fix(*): return non-zero exit code on test failure
2017-05-17 12:58:26 -04:00
Adam Reese
206035442e Merge pull request #2438 from vdice/feat/init-upgrade-service-account
feat(cmd/helm/installer): add support for upgrading service account
2017-05-16 11:14:49 -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
Michelle Noorali
488ca6fdd8 fix(*): return non-zero exit code on test failure
* resolves #2089
2017-05-15 21:42:44 -04:00
fengyun.pan
346c82952d Add friendly output for helm package 2017-05-15 09:36:49 +08:00
fengyun.pan
15daced241 Return err when failed to check dependencie and save chart 2017-05-14 15:00:53 +08:00
vdice
0d3f14f041 feat(cmd/helm/installer): add support for upgrading service account 2017-05-12 13:02:09 -06:00
Matt Butcher
e8aa8d3678 Merge pull request #2405 from sushilkm/linting-fixes
Fixed issues reported by test-style
2017-05-11 10:28:34 -06:00
Sushil Kumar
084bbfa2ba Return error exit-code in case of error 2017-05-08 21:32:46 -07:00
Sushil Kumar
1c5aab8e78 Fixes messages for plugin remove option
Fixes issues/2398 - helm plugin remove does not works as expected

- [ ] plugin remove option is coded to remove multiple plugins, but instead returns error when more than one plugin is requested to be removed.
- [ ] plugin remove does not show any error/message for non-existent plugin.
2017-05-06 15:47:21 -07:00
Sushil Kumar
61c3a44dc3 Fixed issues reported by test-style 2017-05-05 18:44:58 -07:00
Matt Butcher
982bb0cd2c Merge pull request #2079 from nebril/new-backend
Experimental Rudder implementation
2017-05-05 16:31:28 -06:00
Michelle Noorali
704e69fca2 Merge pull request #2375 from sushilkm/tests/repo-flag
Added tests for --repo flag for helm fetch command
2017-05-05 14:16:47 -04:00
Maciej Kwiek
d9f72deb0d Add comments to exported Rudder methods
Added make target
Lowered docker image sizes
Updated ruder.pb.go
2017-05-05 14:05:03 +02:00
Maciej Kwiek
1c9ae5577d Basic Rudder Delete implementation
Extracted delete specific code from ReleaseServer to external function
which is called from both Local and Remote ReleaseModules.

Made getVersionSet function from tiller package exported.
2017-05-05 13:05:24 +02:00
Maciej Kwiek
5937e1a214 ReleaseServer.ReleaseModule has Status method
Both local and remote Release module implement release status check.
2017-05-05 13:05:24 +02:00
Maciej Kwiek
52c54b09c0 Move rudder proto to different package, add release status 2017-05-05 13:05:24 +02:00
Dmitry Shulyak
3cba189f53 Define both rudder port and rudder address for different needs 2017-05-05 13:04:02 +02:00
Dmitry Shulyak
bd47b8444f Use rollback method on ReleaseModule interface 2017-05-05 13:04:02 +02:00