Matt Farina
e2f688fa0d
fix(grpc): Fixes issue where message sending limited to 4mb
...
Between grpc 1.2.x and 1.7.x there was an API change. The
previous MaxMsgSize is now a wrapper around MaxRecvMsgSize. This
change now sets the MaxRecvMsgSize and MaxSendMsgSize which need
to be set independently.
(cherry picked from commit 614cd9dfe7
)
2018-02-08 13:29:55 -08:00
xuhaigang
61623bfe2d
feat(tiller/proto):Allow charts to specify k8s compatibility in semver field
...
Add an optional field kubeVersion to Chart.yaml that allows the chart
developer to specify a semver compliant version.
Closes #2708 , #2706
2018-01-06 10:02:09 +08:00
Adam Reese
a31e3b8fe1
ref(*): kubernetes v1.9 support ( #3234 )
2018-01-05 12:30:26 -08:00
Taylor Thomas
04769b7c26
Merge pull request #3131 from fgimenez/fix-2745
...
check if resource is present before adding it to remaining or keep on deletion
2017-11-30 18:10:00 -08:00
Federico Gimenez
a607fe798d
iinitialize message only when at least one manifest is kept
2017-11-30 08:49:48 +01:00
Federico Gimenez
93bce130fb
fix signatures
2017-11-29 14:18:12 +01:00
Federico Gimenez
81eaf2f263
only check existence for the possibly kept manifests
2017-11-29 14:14:50 +01:00
Hadrien Chauvin
838d780894
update google.golang.org/grpc to 1.7.2 ( #3101 )
2017-11-22 09:16:02 -07:00
Federico Gimenez
e6d907ed28
check if resource is present before adding it to remaining or keep on deletion
2017-11-12 11:20:52 +01:00
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
2017-11-03 14:57:33 -07:00
Taylor Thomas
29c3b5276f
fix(tiller): Adds CRD ordering
...
This adds CRD ordering into the explicit kind sorter list
Closes #2925
2017-10-09 23:21:44 -07:00
Matthew Fisher
d4f5a133dd
Merge pull request #2960 from HotelsDotCom/upgrade-failure-record-release-as-update
...
Correctly persists Release upgrade failure
2017-10-03 12:30:48 -07:00
Taylor Thomas
f8e9741578
Merge pull request #2984 from thomastaylor312/feat/add_missing_test
...
fix(sorter): Adds missing unit test
2017-10-03 11:41:10 -07:00
Justin Scott
b642ba2087
Merge pull request #2831 from jascott1/sort_unknown_kind
...
bug(tiller): sort unknown but different kinds alphabetically based on kind name
2017-10-02 13:13:04 -07:00
Taylor Thomas
333f8dd354
fix(sorter): Adds missing unit test
...
Adds a unit test that was missed as part of #2961
2017-09-28 08:51:12 -07:00
Maxim Ivanov
ff5acc9bd8
Make Memory driver to store copy of releases to stop hiding storage errors during tests
2017-09-26 15:32:49 +01:00
NauxLiu
c3f9120e02
Load StorageClass before PersistentVolume is loaded.
2017-09-22 21:29:46 +08:00
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.
2017-09-22 11:36:29 +01:00
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.
2017-09-06 15:55:30 -07:00
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.
2017-09-06 14:36:25 -04:00
Matthew Fisher
bb5db61325
Merge pull request #2781 from jascott1/i2755-template
...
feat(helm): add `template` command
2017-09-05 10:09:23 -07:00
DoctorZK
608fd7318a
fix(tiller): fix a warning bug in hook annotation
2017-08-30 17:28:36 +08:00
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
2017-08-28 18:04:56 -07:00
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
2017-08-24 12:18:28 +08:00
Justin Scott
f239050996
Update kind subsort to sort unknown kinds alphabetically.
...
Remove length check from subsort test. Add check for unknowns.
2017-08-16 00:32:33 -07:00
Justin Scott
87d2b7ab67
Add test for kind sorter sub sort
2017-08-16 00:32:33 -07:00
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
2017-08-16 00:32:33 -07:00
Maciej Kwiek
6b16ee2fb7
Handle nil responses returned from rudder funcs
...
Tiller panicked on nil pointer dereference when it was unable to connect
to rudder.
2017-07-25 13:36:21 +02:00
Matt Butcher
88aa4def3e
Merge pull request #2701 from jascott1/i2560-hang
...
fix(tiller): remove locking system from storage and rely on backend
2017-07-24 15:58:43 -06:00
Taylor Thomas
8fc88ab626
Merge pull request #2681 from at1012/at-helm-list
...
feat(2063): Better 'helm list' visibility into state of pending upgrades
2017-07-20 21:46:27 -07:00
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
2017-07-19 16:02:38 -07:00
Adam Reese
a29e610938
fix(helm): fix flag parsing once and for all
2017-07-14 11:08:50 -07:00
Aishwarya Thangappa
915e7023c4
Added more granular statuses
2017-07-13 15:20:07 -07:00
Aishwarya Thangappa
9d67d8b954
Added PENDING status to helm install
2017-07-13 14:33:32 -07:00
Aishwarya Thangappa
3d4361ca1f
Modified release_update and release_rollback
2017-07-12 15:04:34 -07:00
Adam Reese
9325d136d4
fix(tests): fix sorting hooks test flake
2017-07-11 14:22:05 -07:00
Steven E. Harris
2aaad8242e
Merge pull request #2666 from adamreese/ref/cleanup-tests
...
ref(tests): simplify kind sorter test
2017-07-10 19:41:45 -04:00
Aaron Schlesinger
58a2d7b5c1
Adding APIService to the kind sorter tests
2017-07-10 14:33:57 -07:00
Adam Reese
0d1f6b981f
ref(tests): simplify kind sorter test
2017-07-10 12:38:18 -07:00
Aaron Schlesinger
5ff75f84a6
Adding APIService to the sort order
...
This ensures that APIService resources are installed last and
uninstalled first
2017-07-06 14:21:32 -07:00
Justin Scott
af4c243ee3
Correct punctuation and capitalization for user facing strings.
2017-06-26 10:23:26 -07:00
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.
2017-06-22 10:05:29 -06:00
Adam Reese
eccb041c0f
ref(tiller): cleanup goimports
2017-06-12 10:30:21 -07:00
Michelle Noorali
15c14194c4
Merge pull request #2457 from michelleN/hooks-bug
...
fix(tiller): track hooks in multi-def manifests
2017-06-08 10:37:01 -04:00
Matt Butcher
d2a4c40fa5
Merge pull request #2541 from technosophos/fix/2525-helm-get-broken-release
...
fix(tiller): make GetReleaseContent return any release
2017-06-06 11:48:51 -06:00
Michelle Noorali
6bfb08a760
ref(tiller): refactor sortManifests()
2017-06-05 20:52:20 -04:00
Michelle Noorali
83c69a8e10
fix(tiller): track hooks in multi-def manifests
...
resolves #2290
2017-06-05 20:46:57 -04:00
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
2017-06-05 14:18:02 -06:00
Adam Reese
8272360681
Merge pull request #2476 from adamreese/fix/flag-envars
...
fix(helm): fix race conditions in flag parsing
2017-06-05 12:45:26 -07:00
devinyan
d3b14db325
adjust the check parameter order for uninstall
2017-06-03 10:17:30 +08:00