1. 24 Aug, 2018 2 commits
    • Adam Reese's avatar
      4f26b658
    • Adam Reese's avatar
      ref(*): refactor chart/chartutil · f012940d
      Adam Reese authored
      ref(chartutil): move chart loading out of chartutil into new package
          add chart loader interface to allow lazy loading
      feat(chart): create chart accessors
      ref(*): cleanup requirements
      ref(tiller): remove optional template engines
      ref(tiller): simplify sorting releases and hooks
      ref(*): code simplification
      ref(hapi): move chart package out of hapi
      ref(chart): add requirements and lock to Chart struct
      f012940d
  2. 14 Jun, 2018 1 commit
    • Matthew Fisher's avatar
      ref(cmd): rename `helm delete` to `helm uninstall` · 195d21d5
      Matthew Fisher authored
      To match the convention of `helm install`, `helm uninstall` is the inverse.
      
      Other tangential changes in this PR:
      
      - StatusDeleting has been changed to StatusUninstalling
      - StatusDeleted has been changed to StatusUninstalled
      - `helm list --deleted` has been changed to `helm list --uninstalled`
      - `helm list --deleting` has been changed to `helm list --uninstalling`
      - `helm.DeleteOption` and all delete options have been renamed to `helm.UninstallOption`
      
      I have not made any changes to the "helm.sh/hook-delete-policy", "pre-delete" and "post-delete" hook annotations because
      
      1. it's a major breaking change to existing helm charts, which we've commited to NOT break in Helm 3
      2. there is no "helm.sh/hook-install-policy" to pair with "helm.sh/hook-uninstall-policy", so delete still makes sense here
      
      `helm delete` and `helm del` have been added as aliases to `helm uninstall`, so `helm delete` and `helm del` still works as is.
      195d21d5
  3. 27 Apr, 2018 1 commit
  4. 26 Apr, 2018 1 commit
  5. 23 Apr, 2018 1 commit
  6. 20 Apr, 2018 1 commit
  7. 18 Apr, 2018 3 commits
  8. 16 Apr, 2018 1 commit
  9. 13 Apr, 2018 1 commit
  10. 04 Apr, 2018 2 commits
    • Michelle Noorali's avatar
      e02802ba
    • Michelle Noorali's avatar
      fix(pkg/tiller): reuseValues combines all prev val · 9266731d
      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.
      9266731d
  11. 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
  12. 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
  13. 26 Sep, 2017 1 commit
  14. 12 Jun, 2017 1 commit
  15. 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