Commit graph

719 commits

Author SHA1 Message Date
Sushil Kumar
d5fd75fe61 Updated StartLocalServerForTests to be private method 2017-05-05 10:54:54 -07: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
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
Gergo Huszty
b4ca198cc6 Pluggable downloaders. Closes #2093, #2094.
It is now possible to create plugins with chart download capabilities for custom, non-http protocols.
Furthermore it is possible to reuse helm packages to implement alternative clients with these custom downloader functions.
2017-04-16 20:58:03 +02:00
Matt Butcher
0c11033fb7 Merge pull request #2171 from appscode/tiler-prom
Expose tiller server metrics to prometheus
2017-04-13 13:53:23 -06:00
Taylor Thomas
d03311b45a Merge pull request #2188 from scottrigby/chartutil-ingress-example
chartutil create ingress example
2017-04-13 09:21:24 -07:00
sadlil
8c81e7336a Add prometheus monitoring for tiler 2017-04-13 09:37:12 +06:00
Matt Butcher
573a8a190c
fix(tiller): ignore empty YAML documents during delete
Closes #2256
2017-04-12 16:23:39 -06:00
Matt Butcher
19b111b123
fix(helm): fix nil pointer in requirements.go
This fixes a segfault that was the result of assigning to a property of
a nil pointer.

Closes #2244
2017-04-12 12:06:33 -06:00
Serguei Bezverkhi
26343023a3 fix(tiller): increase maximum size of gRPC message
* tiller_fix_2261

* fix(tiller) 2261 Increase maxMsgSize to 20MB
2017-04-12 11:23:32 -06:00
Adam Reese
7a141a10b3 fix(helm): correct import for apps api
* cleanup named imports
2017-04-11 22:53:34 -07:00
Adam Reese
0ab38a998c Merge pull request #2248 from adamreese/ref/kube-v1.6
ref(*): kubernetes v1.6
2017-04-11 18:49:35 -07:00
Matt Butcher
d97086cbdd Merge pull request #2229 from technosophos/feat/chart-tiller-version
feat(tiller): support version constraint on chart
2017-04-11 17:14:59 -06:00
Adam Reese
85c41ef11a ref(*): kubernetes v1.6
Rebase on kubernetes v1.6
2017-04-11 15:42:23 -07:00
Sushil Kumar
000bf9fd1a Added release-name to helm delete error
Fixes https://github.com/kubernetes/helm/issues/2251
In case a user tries to delete a non-existent release,
the error message displayed was missing release-name.
2017-04-11 09:41:07 -07:00
Sushil Kumar
84fc5b776f Fixes hard-coded linux based file-separator
Fixes https://github.com/kubernetes/helm/issues/2254
2017-04-10 16:48:32 -07:00
Scott Rigby
5bdcbee9af Change secret name to something more standard 2017-04-08 23:17:51 -04:00
Scott Rigby
2be4547d13 Change to hosts array, and parameterize serviceName and servicePort 2017-04-08 23:17:23 -04:00
Adam Reese
e611936893 ref(plugin): cleanup unused functions 2017-04-07 00:11:23 -07:00
Matt Butcher
e4e0e32064
feat(tiller): support version constraint on chart
This provides the Chart.yaml field `tillerVersion`, which is a semver
range. It allows users to choose to constrain a chart to a specific
version.

The reason for this is that we keep introducing new template functions,
but we have no way of saying "this chart will only work with Tiller
newer than...".

The check on version is _only_ done on Tiller. The client does not check
at all, since it does not do any template expansion on its own.
2017-04-06 17:01:09 -06:00