Commit Graph

13 Commits

Author SHA1 Message Date
Brent 9ae00bebad fix(tiller): rollback deleted release (#3722) (#4820)
Solves #3722 by making the changes in #3539 more compatible with the previous behavior.

This gives a recovery option for "oops I deleted my helm release" by allowing rollback, which is intended to be a working feature of helm. Note that purging releases removes the history required to rollback, so this doesn't work in that case. However, purging takes significantly more time, so it's harder to accidentally purge everything.

Signed-off-by: Brent <bmperrea@gmail.com>
2018-11-12 12:36:58 +01: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
Stuart Leeks bac4f45f94 Switch flag to update existing record 2018-04-04 09:18:17 +01: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
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 b5c213d5dd ref(tiller): refactor tiller APIs into logical files
*ReleaseServer.RollbackRelease -> tiller/release_rollback.go
2017-05-22 10:09:13 -06:00