Gasmi Christophe
256765aa74
Networkpolicy kind sort ( #6266 )
...
* Add NetworkPolicy in kind sorter
Signed-off-by: Christophe GASMI <rekcah78@gmail.com>
* Added NetworkPolicy to sort order test
Signed-off-by: Christophe GASMI <rekcah78@gmail.com>
5 years ago
Constantin Bugneac
535df90cc8
Added HorizontalPodAutoscaler to sort order.
...
Signed-off-by: Constantin Bugneac <constantin.bugneac@worldfirst.com>
5 years ago
Seb Ospina
320e853b8d
Added List mode for Role, ClusterRole and Bindings
...
Kubernetes supports RoleList, RoleBindingList, ClusterRoleList and
ClusterRoleBindingList, in order for a Role to be bound, it must
already exist.
For the List reference, see: https://github.com/kubernetes/kubernetes/blob/master/pkg/apis/rbac/types.go
Signed-off-by: Seb Ospina <kraige@gmail.com>
5 years ago
Alexander Matyushentsev
f5df47b1c8
Fix: kind sorter incorrectly compares unknown and namespace ( #5186 )
...
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
6 years ago
Matt Tucker
147c8217c7
fix(tiller): correctly sort PodDisruptionBudget objects before pods that might use them ( #4769 )
...
Signed-off-by: Matt Tucker <ultimateboy@gmail.com>
6 years ago
Matthew Fisher
2d77db11fa
change copyright to "Copyright The Helm Authors"
6 years ago
Sergii Manannikov
7631b8a926
Create PodSecurityPolicy before Pods and ServiceAccounts
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
Taylor Thomas
f8e9741578
Merge pull request #2984 from thomastaylor312/feat/add_missing_test
...
fix(sorter): Adds missing unit test
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
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
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
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
Steven E. Harris
2aaad8242e
Merge pull request #2666 from adamreese/ref/cleanup-tests
...
ref(tests): simplify kind sorter test
7 years ago
Aaron Schlesinger
58a2d7b5c1
Adding APIService to the kind sorter tests
7 years ago
Adam Reese
0d1f6b981f
ref(tests): simplify kind sorter test
7 years ago
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.
8 years ago
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 .
8 years ago
Michelle Noorali
e95a0570ad
chore(pkg/releasetesting): add test_suite tests
...
* and comments
8 years ago
Michelle Noorali
e132191275
ref(pkg/): refactor helm test logic
...
pulled logic out in pkg/releasetesting
8 years ago
adieu
c0850efeb5
Separate tiller into pkg and cmd so we can use tiller as a library.
8 years ago