Commit graph

736 commits

Author SHA1 Message Date
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
24157e4aed Updated review comments :) 2017-05-06 15:59:20 -07:00
Sushil Kumar
c84fb11a68 Errors out in case requested plugin exists
Partially fixes issues/2385 - helm install silently updates the plugin, if it pre-existed
2017-05-06 15:47:21 -07:00
Sushil Kumar
6344f1d8e9 Errors out in case requested plugin version does not exists
Fixes issues/2384 - helm plugin install installs a default version in case requested version is not available
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
5c227bffbb Merge pull request #2361 from databus23/dont_render_partials
Skip rendering partials
2017-05-05 16:44:30 -06:00
Matt Butcher
982bb0cd2c Merge pull request #2079 from nebril/new-backend
Experimental Rudder implementation
2017-05-05 16:31:28 -06:00
Sushil Kumar
d5fd75fe61 Updated StartLocalServerForTests to be private method 2017-05-05 10:54:54 -07: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
59af46502d Run make protoc to update hapi 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
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
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
Taylor Thomas
b6586fdb50 Merge pull request #2300 from sushilkm/issues/2113
Implements --repo flag to commands fetch, install, inspect, upgrade
2017-05-02 14:08:00 -07:00
Sushil Kumar
2a5ab59895 Updated defer delete call 2017-05-02 13:25:13 -07:00
Adam Reese
1ec2c04be8
chore(*): bump to v2.4.0 2017-05-02 13:04:36 -07:00
Michelle Noorali
3cef2ed667 Merge pull request #2369 from michelleN/bug/2158-panic-on-new-line
fix(releaseutil): remove newline on SplitManifests
2017-05-02 15:17:47 -04:00
Michelle Noorali
dcfbb2bd35 fix(releaseutil): remove newline on SplitManifests
fixes #2158
2017-05-02 14:48:08 -04:00
Adnan Abdulhussein
f8b2c5eb57 fix(create): incorrect URL in default NOTES.txt 2017-05-02 19:15:18 +01:00
Sushil Kumar
d13b134ffb Implements --repo flag to commands fetch, install, inspect, upgrade 2017-05-02 10:46:16 -07:00
Kiichiro Okano
46cad97950 Return as not ready if it new RS is nil 2017-05-02 17:43:36 +01:00
Adam Reese
0c91d41221 Merge pull request #2366 from adamreese/fix/2110-canary-versioning
fix(*): handle unreleased versioning
2017-05-02 09:12:06 -07:00
Matt Butcher
b1ade9c81a Merge pull request #2314 from nebril/lock-release
Releases are locked to avoid parallel changes
2017-05-02 10:08:15 -06:00
Matt Butcher
6e63a547e2 Merge pull request #2354 from technosophos/fix/2271-alternate-toml-marshal
fix(tiller): fix TOML panic
2017-05-02 10:04:58 -06: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
Adam Reese
9ae84c730f
fix(tiller): make new version check backwards compatible 2017-05-01 20:47:35 -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
Adam Reese
2e819e014d
fix(*): handle unreleased versioning
Adds an `unreleased` flag to the version if not building from HEAD of a
tag. The compatibility check is bypassed if the client or server are
unreleased.

fixes #2110
2017-05-01 12:06:50 -07:00
Matt Butcher
46035c35c4
fix(tiller): fix TOML panic
This fixes a TOML panic by replacing one parser library with another.
The older library did not gracefully handle reflection issues, and so
was prone to panic. The new one is not great, but it doesn't seem to
panic.

Closes #2271
2017-05-01 11:25:51 -06:00
Fabian Ruff
b94eb82d12 Skip rendering partials
The output of a rendered partial is not used and rendering it might fail if it expects different values
2017-05-01 02:00:09 +02:00
Fabian Ruff
124235ffed Fail template execution if included template fails 2017-04-30 01:00:31 +02:00
Matt Butcher
3a943696b7 Merge pull request #2348 from technosophos/fix/environment-style-fixes
fix(helm): fix style errors in pkg/environment
2017-04-28 14:17:28 -06:00
Matt Butcher
3c55a0ee65
fix(helm): fix style issues
This just adds a few comments where the style linter was complaining.
2017-04-28 07:56:01 -06:00
Matt Butcher
7094651493
feat(*): update to latest gRPC and Protobuf
Effectively, this switches us to gRPC's internal version 4. This is
compatible with protoc 3.2 and grpc-go 1.2.1.
2017-04-27 14:43:15 -06:00
Maciej Kwiek
ec92b76054 Release are locked to avoid parallel changes
Environment is supplied with release lock map which allows to lock a
release by name to make sure that update, rollback or uninstall aren't
running on one release at the same time.
2017-04-24 13:05:35 +02:00
Adam Reese
b7f2c6f5fe Merge pull request #2304 from adamreese/ref/debug
ref(helm): use new debug method to standardize debug output
2017-04-21 09:00:48 -07:00
Adam Reese
50eee83646
ref(helm): use new debug method to standardize debug output 2017-04-19 23:55:36 -07:00
Taylor Thomas
c463e1f185 ref(*): Regenerates protobuf files with protoc 3.2.0
Protoc was updated a little while ago and we are likely to get more
people using it. This should avoid weird merge conflicts and bump us
to the latest version
2017-04-19 20:12:09 -07: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
Matthias Thubauville
ce505f16e6 Fix indent for defaultDeployment 2017-04-19 09:50:11 +02:00
Matt Butcher
fe1104056c Merge pull request #2279 from sstarcher/search_constraint
Search constraint and Install/Upgrade default constraint
2017-04-18 17:56:44 -06:00
Matt Butcher
d4e129d55c Merge pull request #2283 from sushilkm/issues/2276
Validates chart-dir before running dependency list command
2017-04-18 17:55:18 -06:00
Shane Starcher
7150fc3d9e bug(helm) - install/upgrade/search semver constraint support 2017-04-18 18:10:48 -04:00
fibonacci1729
73e6399294 test(*): add tests for new tls support
Adds a testdata directory to hold tls certs at the root
of the project. The tests cover pkg/tlsutil, cmd/helm,
and cmd/helm/installer.

Closes #2289
2017-04-18 15:02:06 -06:00
Sushil Kumar
99065aa331 Validates chart-dir before running dependency list command
Fixes issues/2276: helm dependency list hangs if run on large directory
2017-04-17 14:23:04 -07:00