1. 25 Apr, 2018 1 commit
    • Michelle Noorali's avatar
      fix(pkg/tiller): reuseValues combines all prev val · 4dd21780
      Michelle Noorali authored
      Resolves #3655
      We were seeing that when running helm upgrade with the reuse-values
      flag enabled that you could end up in the position where overrides
      a.k.a computed values from previous revisions were not being saved on
      the updated revision. This left us in a weird position where some
      computed values would disappear mysteriously in the abyss. That
      happened because computed values from previous revisions weren't merged
      with the new computed values every time the reuse-values flag was used.
      This PR merges computed values from the previous revisions so you don't
      end up in that kind of conundrum.
      
      (cherry picked from commit 9266731d)
      4dd21780
  2. 08 Mar, 2018 1 commit
    • Matthew Fisher's avatar
      replace FAILED deployments with `helm upgrade --install --force` · 13730b0d
      Matthew Fisher authored
      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.
      13730b0d
  3. 03 Nov, 2017 1 commit
    • Adam Reese's avatar
      fix(tiller): upgrade last deployed release · 82ef7514
      Adam Reese authored
      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
      82ef7514
  4. 26 Sep, 2017 1 commit
  5. 12 Jun, 2017 1 commit
  6. 24 May, 2017 1 commit
    • fibonacci1729's avatar
      ref(tiller): refactor tests into logical files · 22db9739
      fibonacci1729 authored
      TestListReleasesByStatus -> tiller/release_list_test.go
      TestListReleasesFilter -> tiller/release_list_test.go
      TestListReleasesSort -> tiller/release_list_test.go
      TestListReleases -> tiller/release_list_test.go
      TestUpdateRelease_ResetReuseValues -> tiller/release_update_test.go
      TestUpdateRelease_ResetValues -> tiller/release_update_test.go
      TestUpdateRelease_ReuseValues -> tiller/release_update_test.go
      TestUpdateReleaseNoChanges -> tiller/release_update_test.go
      TestUpdateReleaseFailure -> tiller/release_update_test.go
      TestUpdateReleaseNoHooks -> tiller/release_update_test.go
      TestUpdateRelease -> tiller/release_update_test.go
      TestRollbackReleaesFailure -> tiller/release_rollback_test.go
      22db9739