Commit 5ff75f84 authored by Aaron Schlesinger's avatar Aaron Schlesinger

Adding APIService to the sort order

This ensures that APIService resources are installed last and
uninstalled first
parent 475de1f4
...@@ -49,12 +49,14 @@ var InstallOrder SortOrder = []string{ ...@@ -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",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment