Hadrien Chauvin
838d780894
update google.golang.org/grpc to 1.7.2 ( #3101 )
7 years ago
Adam Reese
82ef751414
fix(tiller): upgrade last deployed release
...
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
7 years ago
Taylor Thomas
29c3b5276f
fix(tiller): Adds CRD ordering
...
This adds CRD ordering into the explicit kind sorter list
Closes #2925
7 years ago
Matthew Fisher
d4f5a133dd
Merge pull request #2960 from HotelsDotCom/upgrade-failure-record-release-as-update
...
Correctly persists Release upgrade failure
7 years ago
Taylor Thomas
f8e9741578
Merge pull request #2984 from thomastaylor312/feat/add_missing_test
...
fix(sorter): Adds missing unit test
7 years ago
Justin Scott
b642ba2087
Merge pull request #2831 from jascott1/sort_unknown_kind
...
bug(tiller): sort unknown but different kinds alphabetically based on kind name
7 years ago
Taylor Thomas
333f8dd354
fix(sorter): Adds missing unit test
...
Adds a unit test that was missed as part of #2961
7 years ago
Maxim Ivanov
ff5acc9bd8
Make Memory driver to store copy of releases to stop hiding storage errors during tests
7 years ago
NauxLiu
c3f9120e02
Load StorageClass before PersistentVolume is loaded.
7 years ago
Maxim Ivanov
38c3f58dca
Correctly persists Release upgrade failure
...
When release upgrade fails, updatedRelease is already created
in a storage by *ReleaseServer.UpdateRelease, therefore we should
be updating it's status, not creating it again.
7 years ago
Justin Scott
ed24b3199a
bug(tiller): sort unknown but different kinds alphabetically based on kind name
...
Adds additional manifest sorting logic so that different unknown kinds
are sorted alphabetically so that manifest order is more deterministic.
7 years ago
Steven E. Harris
f588315b76
Remove spurious field in kind sorter test ( #2667 )
...
The test never reads the manifest type's "content" field, so there's
no reason to populate it explicitly with its zero value.
7 years ago
Matthew Fisher
bb5db61325
Merge pull request #2781 from jascott1/i2755-template
...
feat(helm): add `template` command
7 years ago
DoctorZK
608fd7318a
fix(tiller): fix a warning bug in hook annotation
7 years ago
Justin Scott
4a02a71f1e
WIP feat(helm): add `template` command
...
This adds the functionality from the helm-template plugin to allow the
rendering of templates without Tiller.
Closes #2755
7 years ago
DockerZK
734b124577
feat(*) add key helm.sh/hook-delete-policy to hook annotation
...
When "helm.sh/hook-delete-policy: hook-succeeded" is provided in a hook's annotation, Tiller will automatically delete the hook after the hook is succeeded. When "helm.sh/hook-delete-policy: hook-failed" is provided in a hook's annotation, Tiller will automatically delete the hook after the hook is failed.
Closes #1769
7 years ago
Justin Scott
f239050996
Update kind subsort to sort unknown kinds alphabetically.
...
Remove length check from subsort test. Add check for unknowns.
7 years ago
Justin Scott
87d2b7ab67
Add test for kind sorter sub sort
7 years ago
Justin Scott
66c4f7453e
feat(tiller): sort manifests alphabetically if they are same kind
...
Updates Tiller manifest sorting so that manifests of the same kind are
then sorted alphabetically.
Closes #1696
7 years ago
Maciej Kwiek
6b16ee2fb7
Handle nil responses returned from rudder funcs
...
Tiller panicked on nil pointer dereference when it was unable to connect
to rudder.
8 years ago
Matt Butcher
88aa4def3e
Merge pull request #2701 from jascott1/i2560-hang
...
fix(tiller): remove locking system from storage and rely on backend
8 years ago
Taylor Thomas
8fc88ab626
Merge pull request #2681 from at1012/at-helm-list
...
feat(2063): Better 'helm list' visibility into state of pending upgrades
8 years ago
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
8 years ago
Adam Reese
a29e610938
fix(helm): fix flag parsing once and for all
8 years ago
Aishwarya Thangappa
915e7023c4
Added more granular statuses
8 years ago
Aishwarya Thangappa
9d67d8b954
Added PENDING status to helm install
8 years ago
Aishwarya Thangappa
3d4361ca1f
Modified release_update and release_rollback
8 years ago
Adam Reese
9325d136d4
fix(tests): fix sorting hooks test flake
8 years ago
Steven E. Harris
2aaad8242e
Merge pull request #2666 from adamreese/ref/cleanup-tests
...
ref(tests): simplify kind sorter test
8 years ago
Aaron Schlesinger
58a2d7b5c1
Adding APIService to the kind sorter tests
8 years ago
Adam Reese
0d1f6b981f
ref(tests): simplify kind sorter test
8 years ago
Aaron Schlesinger
5ff75f84a6
Adding APIService to the sort order
...
This ensures that APIService resources are installed last and
uninstalled first
8 years ago
Justin Scott
af4c243ee3
Correct punctuation and capitalization for user facing strings.
8 years ago
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.
8 years ago
Adam Reese
eccb041c0f
ref(tiller): cleanup goimports
8 years ago
Michelle Noorali
15c14194c4
Merge pull request #2457 from michelleN/hooks-bug
...
fix(tiller): track hooks in multi-def manifests
8 years ago
Matt Butcher
d2a4c40fa5
Merge pull request #2541 from technosophos/fix/2525-helm-get-broken-release
...
fix(tiller): make GetReleaseContent return any release
8 years ago
Michelle Noorali
6bfb08a760
ref(tiller): refactor sortManifests()
8 years ago
Michelle Noorali
83c69a8e10
fix(tiller): track hooks in multi-def manifests
...
resolves #2290
8 years ago
Matt Butcher
c913911337
fix(tiller): make GetReleaseContent return any release
...
For some reason, GetReleaseContent was configured to return the latest
release only if it is in state DEPLOYED. But a release with a version is
returned regardless of release. This made it really hard to debug failed
releases, even though we have the data to show.
Closes #2525
8 years ago
Adam Reese
8272360681
Merge pull request #2476 from adamreese/fix/flag-envars
...
fix(helm): fix race conditions in flag parsing
8 years ago
devinyan
d3b14db325
adjust the check parameter order for uninstall
8 years ago
Taylor Thomas
b71bd6a455
Merge pull request #2513 from thomastaylor312/feat/moar_logging
...
feat(tiller): Adds more logging
8 years ago
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
8 years ago
Adam Reese
d797acbd7b
fix(helm): fix race conditions in flag parsing
...
* fix a number of issues with flag parsing
* add support for `HELM_DEBUG`
* lazy expand flag default envars
8 years ago
peay
0f26cc5522
Add --force to upgrade and rollback
8 years ago
fibonacci1729
04d0abfd7c
ref(tiller): refactor tests into logical files
...
TestInstallRelease_WithChartAndDependencyNotes -> tiller/release_install_test.go
TestInstallRelease_WrongTillerVersion -> tiller/release_install_test.go
TestInstallRelease_WithNotesRendered -> tiller/release_install_test.go
TestInstallRelease_TillerVersion -> tiller/release_install_test.go
TestInstallRelease_FailedHooks -> tiller/release_install_test.go
TestInstallRelease_ReuseName -> tiller/release_install_test.go
TestInstallRelease_WithNotes -> tiller/release_install_test.go
TestInstallRelease_NoHooks -> tiller/release_install_test.go
TestInstallRelease_DryRun -> tiller/release_install_test.go
TestInstallRelease -> tiller/release_install_test.go
8 years ago
fibonacci1729
22db973932
ref(tiller): refactor tests into logical files
...
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
8 years ago
fibonacci1729
172dbb22cf
ref(tiller): refactor tests in logical files
...
TestRunReleaseTest -> tiller/release_testing_test.go
TestGetReleaseContent -> tiller/release_content_test.go
TestGetReleaseStatusDeleted -> tiller/release_status_test.go
TestGetReleaseStatus -> tiller/release_status_test.go
TestRollbackReleaseFailure -> tiller/release_rollback_test.go
TestRollbackReleaseNoHooks -> tiller/release_rollback_test.go
TestRollbackRelease -> tiller/release_rollback_test.go
TestUninstallReleaseWithKeepPolicy -> tiller/release_uninstall_test.go
TestUninstallPurgeDeleteRelease -> tiller/release_uninstall_test.go
TestUninstallReleaseNoHooks -> tiller/release_uninstall_test.go
TestUninstallPurgeRelease -> tiller/release_uninstall_test.go
TestUninstallRelease -> tiller/release_uninstall_test.go
8 years ago
fibonacci1729
2ae276ae39
ref(tiller): refactor tiller APIs into logical files
...
*ReleaseServer.InstallRelease -> tiller/release_install.go
*ReleaseServer.UpdateRelease -> tiller/release_update.go
8 years ago