mirror of
https://github.com/helm/helm.git
synced 2026-04-22 23:00:01 -04:00
Fixed old releases rotation procedure to not require a deployed release to exists. An error will arise when there are no successfully deployed release yet, but releases history limit has been reached. In such situation helm will refuse to upgrade release anymore with "... has no deployed releases" error. Furthermore, release rotation procedure already expecting lastDeployedRelease to be either nil, or not nil. So it is assumed that deployed release may exist or may not and these both outcomes were already expected as a valid situation rather than a failure. Reworked storage_test.go TestStorageRemoveLeastRecentWithError test case: use mocked driver and test release creation procedure does not shadows errors from the underneath release rotation procedure. Signed-off-by: Timofey Kirillov <timofey.kirillov@flant.com> |
||
|---|---|---|
| .. | ||
| action | ||
| chart | ||
| chartutil | ||
| cli | ||
| downloader | ||
| engine | ||
| gates | ||
| getter | ||
| helmpath | ||
| kube | ||
| lint | ||
| plugin | ||
| postrender | ||
| provenance | ||
| pusher | ||
| registry | ||
| release | ||
| releaseutil | ||
| repo | ||
| storage | ||
| strvals | ||
| time | ||
| uploader | ||