Alexey igrychev
1d4883bf3c
Implement before-hook-creation delete policy
...
Existing helm.sh/hook-delete-policy annotation variables (hook-failed, hook-succeeded) do not allow to leave failed jobs for debugging without blocking the next job launching: every failed job must be deleted manually before the next related release is launching (installing, updating or rolling back).
New policy, before-hook-creation, removes the hook from previous release if there is one before the new hook is launched and can be used with another variable.
2018-03-21 18:13:53 +03:00
Arturo Contreras
a615f80c92
Adding --set-string flag to force string values.
2018-03-20 13:35:42 -06:00
Eyal Ben Moshe
b6335b7dfe
Authentication support for remote charts repositories ( #3206 )
...
Authentication support for remote charts repositories.
2018-03-20 10:56:48 -07:00
Taylor Thomas
dede3ff1e1
Merge pull request #3645 from scriptonist/Issue3290
...
Recover from a tiller pod crash caused due to errors in values.yaml
2018-03-13 17:08:31 -07:00
scriptonist
5311bf40a8
Now returning error and stopping installation
2018-03-13 16:33:10 +05:30
Taylor Thomas
2c51155724
Merge pull request #3646 from nicdoye/master
...
Accept .yml files as well as .yaml for templates.
2018-03-12 09:34:52 -07:00
Taylor Thomas
c5f2174f26
Merge pull request #3640 from rajatjindal/docfix
...
fix typo in docs and fake
2018-03-09 16:30:51 -08:00
Taylor Thomas
f19daa16c2
Merge pull request #3631 from gburton1/addProxyCapability
...
Respect http proxy settings when using custom Transport
2018-03-09 16:28:58 -08:00
Matthew Fisher
abe958eb87
Merge pull request #3597 from bacongobbler/upgrade-force-replace
...
replace FAILED deployments with `helm upgrade --install --force`
2018-03-09 11:38:52 -08:00
Nic Doye
73017d7e88
Accept .yml files as well as .yaml for templates.
...
See https://github.com/helm/helm-classic/pull/306 for helm classic
and
https://kubernetes.slack.com/archives/C51E88VDG/p1520588964000061
2018-03-09 17:05:57 +00:00
scriptonist
6cfaa4ebf2
Added code to recover from a tiller pod crash in an event of template render failure
2018-03-09 18:30:01 +05:30
Rajat Jindal
92972b0353
fix typo in docs and fake
2018-03-08 18:22:32 -08:00
Matthew Fisher
13730b0dab
replace FAILED deployments with helm upgrade --install --force
...
When using `helm upgrade --install`, if the first release fails, Helm will respond with an error saying that it cannot upgrade from an unknown state.
With this feature, `helm upgrade --install --force` automates the same process as `helm delete && helm install --replace`. It will mark the previous release as DELETED, delete any existing resources inside Kubernetes, then replace it as if it was a fresh install. It will then mark the FAILED release as SUPERSEDED.
2018-03-08 15:33:10 -08:00
Matthew Fisher
250d25fdce
fix protoc
...
k8s.io/kubernetes bumped protobuf to 1643683e1b54a9e88ad26d98f81400c8c9d9f4f9
2018-03-08 14:18:25 -08:00
Matthew Fisher
a66a39a171
fix helm init --wait
2018-03-08 14:18:25 -08:00
Greg Burton
bf7e755ef3
Respect env proxy settings when using custom Transport
2018-03-07 20:34:29 -08:00
Matthew Fisher
b5af54d44c
Merge pull request #3567 from jumal/master
...
Create missing directories when saving files in chartutil.SaveDir
2018-02-28 12:59:43 -08:00
Matthew Fisher
86ae040bfa
Merge pull request #3491 from oilbeater/fix-defer-in-loop
...
defer in loop may cause resource leak
2018-02-27 19:52:00 +00:00
Johnny Bergström
5f1a21bc32
fix(tiller): Supersede multiple deployments ( #3539 )
...
* add test for rolling back from a FAILED deployment
* Update naming of release variables
Use same naming as the rest of the file.
* Update rollback test
- Add logging
- Verify other release names not changed
* fix(tiller): Supersede multiple deployments
There are cases when multiple revisions of a release has been
marked with DEPLOYED status. This makes sure any previous deployment
will be set to SUPERSEDED when doing rollbacks.
Closes #2941 #3513 #3275
2018-02-27 10:25:40 -08:00
Matthew Fisher
9c4fd1abae
Merge pull request #3527 from adshmh/fix-output-leak-from-realsetesting-test-suite
...
Fix the output leak to stdout during build by tests under pkg/releasetesting
2018-02-27 18:23:34 +00:00
Matthew Fisher
1a9e0f0d15
Merge pull request #3535 from adshmh/fix-output-leak-from-pkg-tiller-tests
...
fix the output leak from test code under pkg/tiller
2018-02-27 18:22:05 +00:00
Matthew Fisher
642ad5c13e
Merge pull request #3544 from radu-matei/patch-1
...
Fix minor typo
2018-02-27 17:00:52 +00:00
Matthew Fisher
be1e974ccc
Merge pull request #3494 from Thiht/patch-1
...
docs: Fix FromJson comment
2018-02-27 15:14:02 +00:00
Matthew Fisher
e35bd82170
Merge pull request #3514 from joonix/issue-3512
...
Bump client side grpc max msg size
2018-02-27 14:21:44 +00:00
Adam Reese
fa611fe285
fix(plugins): support installing plugins by relative path ( #3568 )
...
Support installing plugins by relative path
```
helm plugins install .
```
2018-02-26 15:49:07 -08:00
Adam Reese
c314e2e2f1
fix(plugins): support newer git ( #3571 )
...
Newer gits don't like checking out an empty string.
```
empty string is not a valid pathspec. please use . instead if you meant to match all paths
```
2018-02-26 15:44:32 -08:00
Jean-Philippe Courson
5b77335415
Create missing directories when saving files in chartutil.SaveDir
2018-02-24 17:12:37 +00:00
Radu Matei
df041c4b19
Fix minor typo
2018-02-20 20:23:09 +02:00
Arash Deshmeh
5b25eef9e2
fix(helm): fix the bug in test code under pkg/tiller that leaks output to stdout during build
...
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2018-02-19 12:57:30 -05:00
Johnny Bergström
9bac0a4c30
Update deprecated grpc dial timeout
...
The docs say: use DialContext instead.
2018-02-19 17:04:41 +01:00
Johnny Bergström
98e5006ecf
Bump client side grpc max msg size
...
Set it to match the server side, or the default limit
of 4MB will still apply when upgrading charts.
Fixes #3512
2018-02-19 17:04:41 +01:00
Arash Deshmeh
4fcf69bc52
fix(helm): fix the output leak to stdout during build by tests under pkg/releasetesting,
...
by redirecting output from mock clients.
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2018-02-16 16:31:06 -05:00
yank1
76a40fc573
fix a typo in client
2018-02-12 19:08:39 +08:00
Thibaut Rousseau
a59d212512
docs: Fix FromJson comment
2018-02-12 00:33:28 +01:00
oilbeater
757db3a062
defer in loop may cause resource leak
2018-02-10 16:58:39 +08:00
Matthew Fisher
8009115d3a
Merge pull request #3465 from oilbeater/fix/defer-in-loop
...
defer in loop may cause resource leak
2018-02-08 19:41:13 -08:00
oilbeater
0764d95a03
defer in loop may cause resource leak
...
defer statement executes only when function return, and the resource still be hold during loop. Release the resource manually when not needed.
2018-02-09 10:24:47 +08:00
Matt Farina
6a1dd806ed
Merge pull request #3469 from mattfarina/fix/3322
...
fix(grpc): Fixes issue where message sending limited to 4mb
2018-02-08 13:59:50 -05:00
Matthew Fisher
3c39e72189
Merge pull request #3401 from bacongobbler/revert-kubeconfig-flag
...
Revert "feat(helm): adding kubeconfig flag"
2018-02-08 10:47:15 -08:00
Matt Farina
614cd9dfe7
fix(grpc): Fixes issue where message sending limited to 4mb
...
Between grpc 1.2.x and 1.7.x there was an API change. The
previous MaxMsgSize is now a wrapper around MaxRecvMsgSize. This
change now sets the MaxRecvMsgSize and MaxSendMsgSize which need
to be set independently.
2018-02-07 12:00:13 -05:00
Matt Farina
e6137ff05f
fix(api-machinery): Fixes patching for unstructured objects
...
CRDs and other objects seen as unstructured cannot use strategic
merge patching. It has never been supported on CRDs. Previously,
cases like unstructured objects could have caused an unregistered
error. This is no longer the case.
This change explicitly looks for unstructured objects and handles
those using json merge patching.
Closes #3382
2018-02-05 17:41:27 -05:00
Matthew Fisher
2724387506
Merge pull request #3373 from unguiculus/feature/fix-recreate-part-1
...
Fix pod recreation
2018-02-05 10:40:12 -08:00
Matt Farina
4b578f44ff
Merge pull request #3407 from paolomainardi/feature/3173_fix_wait_for_deployments
...
refs #3173 : add appsv1beta1 and appsv1beta2 apiVersion
2018-01-31 15:54:02 -05:00
Paolo Mainardi
b065ffe1fc
adding other missing apiVersions
2018-01-27 15:36:49 +01:00
Paolo Mainardi
2cee4c68fa
add appsv1beta1 and appsv1beta2 apiVersion
2018-01-27 12:08:02 +01:00
Reinhard Nägele
ea520afd3e
Fix 'getSelectorFromObject'
2018-01-27 11:35:21 +01:00
Matthew Fisher
748dbda29a
Merge pull request #3399 from bacongobbler/fix-release-checklist
...
Fix release checklist
2018-01-26 10:05:03 -08:00
Bin Liu
1e0906ed67
Fix type
2018-01-26 18:41:23 +08:00
Matthew Fisher
f13c4d28b5
Revert "feat(helm): adding kubeconfig flag"
...
This reverts commit 371ff8f26d .
2018-01-25 23:32:42 -08:00
Matthew Fisher
8604e0b832
bump version to v2.8
...
also add it to the release checklist.
2018-01-25 22:45:19 -08:00