helm/pkg/storage
Matt Butcher 0853f4906a
feat(tiller): limit number of versions stored per release
This adds a new configuration option to Tiller to limit the number of
records stored per release.

Tiller stores historical release information (helm history, helm
rollback). This makes it possible to set a maximum number of versions
per release.

To enable this feature, use `helm init --history-max NNN`. Note that
because of the restrictions on Deployment objects, you will have to
re-install Tiller to add a limit.

Along the way, I found an unreported bug in the Memory storage driver.
This fixes that bug and adds substantially more tests to catch
regressions.

Closes #2332
2017-08-10 12:01:20 -06:00
..
driver feat(tiller): limit number of versions stored per release 2017-08-10 12:01:20 -06:00
storage.go feat(tiller): limit number of versions stored per release 2017-08-10 12:01:20 -06:00
storage_test.go feat(tiller): limit number of versions stored per release 2017-08-10 12:01:20 -06:00