Commit Graph

16 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Steven E. Harris 4178ec08ac Add more object kinds to sorted installation order
The following kinds are newly addressed:

  CronJob
  LimitRange
  ReplicaSet
  ResourceQuota
  StatefulSet

Furthermore, adjust the installation and uninstallation order to
better respect likely dependencies. Bare pods remain a difficult one
to place properly in both sequences.
2017-03-30 12:11:36 -04:00
Steven E. Harris 7ccfc6d7d4 Sort dependent RBAC role and binding kinds
During installation and uninstallation, handle the RBAC-related
ClusterRole, ClusterRoleBinding, Role, and RoleBinding kinds in an
order that respects their potential referential integrity, namely that
ClusterRoleBindings can refer to ClusterRoles and ServiceAccounts, and
RoleBindings can refer to ClusterRoles, Roles, and ServiceAccounts.

Fixes #2199.
2017-03-29 17:31:21 -04:00
Michelle Noorali e95a0570ad chore(pkg/releasetesting): add test_suite tests
* and comments
2017-02-02 11:57:11 -05:00
Michelle Noorali e132191275 ref(pkg/): refactor helm test logic
pulled logic out in pkg/releasetesting
2017-02-01 10:55:58 -05:00
adieu c0850efeb5 Separate tiller into pkg and cmd so we can use tiller as a library. 2016-11-02 22:53:07 +08:00