Adding APIService to the sort order

This ensures that APIService resources are installed last and
uninstalled first
reviewable/pr2650/r1
Aaron Schlesinger 8 years ago
parent 475de1f47a
commit 5ff75f84a6

@ -49,12 +49,14 @@ var InstallOrder SortOrder = []string{
"Job", "Job",
"CronJob", "CronJob",
"Ingress", "Ingress",
"APIService",
} }
// UninstallOrder is the order in which manifests should be uninstalled (by Kind). // UninstallOrder is the order in which manifests should be uninstalled (by Kind).
// //
// Those occurring earlier in the list get uninstalled before those occurring later in the list. // Those occurring earlier in the list get uninstalled before those occurring later in the list.
var UninstallOrder SortOrder = []string{ var UninstallOrder SortOrder = []string{
"APIService",
"Ingress", "Ingress",
"Service", "Service",
"CronJob", "CronJob",

Loading…
Cancel
Save