@ -64,18 +64,19 @@ var InstallOrder KindSortOrder = []string{
"CronJob" ,
"CronJob" ,
"IngressClass" ,
"IngressClass" ,
"Ingress" ,
"Ingress" ,
"APIService" ,
"MutatingWebhookConfiguration" ,
"MutatingWebhookConfiguration" ,
"ValidatingWebhookConfiguration" ,
"ValidatingWebhookConfiguration" ,
"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 KindSortOrder = [ ] string {
var UninstallOrder KindSortOrder = [ ] string {
"APIService" ,
// For uninstall, we remove validation before mutation to ensure webhooks don't block removal
"ValidatingWebhookConfiguration" ,
"ValidatingWebhookConfiguration" ,
"MutatingWebhookConfiguration" ,
"MutatingWebhookConfiguration" ,
"APIService" ,
"Ingress" ,
"Ingress" ,
"IngressClass" ,
"IngressClass" ,
"Service" ,
"Service" ,