Matt Tucker
147c8217c7
fix(tiller): correctly sort PodDisruptionBudget objects before pods that might use them ( #4769 )
...
Signed-off-by: Matt Tucker <ultimateboy@gmail.com>
2018-10-12 13:49:45 -06:00
Matthew Fisher
2d77db11fa
change copyright to "Copyright The Helm Authors"
2018-07-30 08:29:17 -07:00
Sergii Manannikov
7631b8a926
Create PodSecurityPolicy before Pods and ServiceAccounts
2018-04-14 18:10:21 +02: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
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
NauxLiu
c3f9120e02
Load StorageClass before PersistentVolume is loaded.
2017-09-22 21:29:46 +08: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
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
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
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
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
Matthew Fisher
3f463783a5
add PersistentVolumeClaim to the kind sorter list
...
At the present time, PersistentVolumeClaims are not a recognized object so it is installed last.
PVCs should be installed shortly after PersistentVolumes have been bound.
2017-02-02 08:32:29 -08: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