Commit graph

784 commits

Author SHA1 Message Date
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
Dmitry Shulyak
a883531f98 Implement upgrade for rudder 2017-05-05 13:04:02 +02:00
Maciej Kwiek
8ef9144fb1 Use helm version as rudder version 2017-05-05 13:04:02 +02:00
Maciej Kwiek
c1fcaf09ce Experimental Rudder implementation
This change introduces the concept of Rudders - pluggable modules that
Tiller communicates with via grpc, which allow to decouple orchestration
logic from Tiller into separate service.

This commit consists of simple Rudder implementation which does exactly
the same thing as built in Tiller orchestrator - it creates all k8s
objects from provided manifest without orchestrating them.

--experimental-release flag is introduced to enable this behaviour.

This change allows to use the service and tiller outside of the cluster.
Following commits will add Rudder to helm deployment.
2017-05-05 13:02:20 +02:00
Michelle Noorali
9fe76d3430 chore(helm): fix go style issues in completion.go 2017-05-04 10:29:29 -04:00
Sushil Kumar
dce9d88c25 Added tests for --repo flag for helm fetch command
- [ ] Added tests for --repo flag on `helm fetch` command
- [ ] Also added tests for (pkg/repo).FindChartInRepoURL
2017-05-02 16:57:05 -07:00
Sushil Kumar
d13b134ffb Implements --repo flag to commands fetch, install, inspect, upgrade 2017-05-02 10:46:16 -07:00
Matt Butcher
e66cdcd1f3 Merge pull request #2352 from technosophos/ref/getter
ref(getter): flatten the getter package tree
2017-05-02 10:04:12 -06: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
Matt Butcher
bd02f39384
ref(getter): flatten the getter package tree
This flattens the getter package tree, adds tests, and changes a little
bit of the terminology to follow Go idioms. This also makes much of the
getter API private to begin with. This will give us more flexibility in
the future.
2017-05-01 16:18:13 -06: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
Matt Butcher
9a33628e4e Merge pull request #2338 from technosophos/fix/2209-warning-to-error
fix(helm): return error when dependencies are missing
2017-04-28 14:16:42 -06:00
Matt Butcher
6246fa12a8
fix(helm): return error when dependencies are missing
This upgrades a warning to an error in cases where `requirements.yaml`
contains a requirement, but it's missing in charts/

This impacts install, upgrade, and package.

Closes #2209
2017-04-27 16:34:18 -06:00
Brian
d7ab16ad03 Merge pull request #2316 from fibonacci1729/master
fix(tiller): update tls client auth policy
2017-04-27 15:16:21 -06:00
fibonacci1729
d7240ff943 fix(tiller): update tls client auth policy
RequireAndVerifyClientCert => VerifyClientCertIfGiven

Closes #2310
2017-04-21 09:34:26 -06:00
Adam Reese
50eee83646
ref(helm): use new debug method to standardize debug output 2017-04-19 23:55:36 -07: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
Brian
17c0de49d1 Merge pull request #2291 from fibonacci1729/master
test(*): add tests for new tls support
2017-04-19 13:53:59 -06:00
Shane Starcher
7150fc3d9e bug(helm) - install/upgrade/search semver constraint support 2017-04-18 18:10:48 -04:00
Justin Scott
48649fe03e WIP feat(tiller): add --net-host flag to 'helm init'
When 'helm init --net-host=true' is run, Tiller will be installed with access to the host network (net=host in Docker)

Closes #2222
2017-04-18 14:40:54 -07:00