Commit Graph

20 Commits

Author SHA1 Message Date
willise a1b391951e ref(tiller): add more info when force update
Signed-off-by: willise <sunshuai@cmss.chinamobile.com>
2019-07-04 01:13:33 +08:00
Jon Leonard a499cf3517
Merge branch 'master' into 2751 2018-11-01 15:02:17 -04:00
jgleonard 1518f961af fix(helm): add --render-subchart-notes flag to 'helm install' and 'helm upgrade'
When 'helm <install|upgrade> --render-subchart-notes ...' is run, this will include
the notes from the subchart when rendered via Tiller.

Closes #2751

Signed-off-by: jgleonard <jgleonard@gmail.com>
2018-11-01 14:57:01 -04:00
Steve Wolter e868da1705 Check for err before working with newRelease. (#4630)
Should fix #4585.

Signed-off-by: Steve Wolter <swolter@google.com>
2018-09-17 12:41:27 -07:00
Matthew Fisher 25a1cff317
Merge pull request #4402 from novas0x2a/force-obey-dryrun
fix(tiller): make update --force --dry-run obey dry-run
2018-07-31 09:10:25 -07:00
Mike Lundy 0736022d98 [tiller] make update --force --dry-run obey dry-run 2018-07-30 14:18:00 -07:00
Matthew Fisher 2d77db11fa change copyright to "Copyright The Helm Authors" 2018-07-30 08:29:17 -07:00
Arash Deshmeh a32868e48b added ability to handle custom release descriptions to tiller
Signed-off-by: Arash Deshmeh <adeshmeh@ca.ibm.com>
2018-06-05 17:15:56 -04:00
Michelle Noorali e02802ba95 ref(pkg/tiller): clarify reuseValues comment 2018-04-04 16:13:07 -04: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
Adam Reese 82ef751414
fix(tiller): upgrade last deployed release
Fixes #2437

Two bugs were causing this behavior

- Tiller was marking the previous release superseded when an upgrade
failed.
- Upgrade was diffing against failed releases
2017-11-03 14:57:33 -07:00
Maxim Ivanov 38c3f58dca Correctly persists Release upgrade failure
When release upgrade fails, updatedRelease is already created
in a storage by *ReleaseServer.UpdateRelease, therefore we should
be updating it's status, not creating it again.
2017-09-22 11:36:29 +01:00
Matt Butcher 88aa4def3e Merge pull request #2701 from jascott1/i2560-hang
fix(tiller): remove locking system from storage and rely on backend
2017-07-24 15:58:43 -06:00
Justin Scott fa68a6e1db fix(tiller): remove locking system from storage and rely on backend controls
Tiller currently hangs indefinitely when deadlocks arise from certain
concurrent operations. This commit removes the nested mutex locking
system from pkg/Storage and relies on resource contention controls in k8s.

Closes #2560
2017-07-19 16:02:38 -07:00
Aishwarya Thangappa 915e7023c4 Added more granular statuses 2017-07-13 15:20:07 -07:00
Aishwarya Thangappa 3d4361ca1f Modified release_update and release_rollback 2017-07-12 15:04:34 -07:00
Y.W 0f953403a2 give an uniform check for release process (#2565)
* give an uniform check for release process

* fixed as the review of adamreese: update the err message when releasename is empty and update the test units.

* fixed as the review of bacongobbler: add more detail information to return message. the regex rule is added to the return message.
2017-06-22 10:05:29 -06:00
Adam Reese eccb041c0f
ref(tiller): cleanup goimports 2017-06-12 10:30:21 -07:00
Taylor Thomas 119fa6537c feat(tiller): Adds more logging
This builds on previous work and adds more logging to follow
the full process of installing, updating, deleting, and rolling back.
This also standardizes capitalization of logs and small formatting
fixes
2017-05-30 18:17:22 -07:00
fibonacci1729 2ae276ae39 ref(tiller): refactor tiller APIs into logical files
*ReleaseServer.InstallRelease -> tiller/release_install.go
*ReleaseServer.UpdateRelease -> tiller/release_update.go
2017-05-22 11:51:27 -06:00