From c121b6b83ee5a8c4439a347704fcc61032d2dbe6 Mon Sep 17 00:00:00 2001 From: Mike Delucchi Date: Fri, 28 Mar 2025 13:32:09 -0700 Subject: [PATCH] changes order of operations Signed-off-by: Mike Delucchi --- pkg/release/util/kind_sorter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/release/util/kind_sorter.go b/pkg/release/util/kind_sorter.go index 72f99e115..27b44cc36 100644 --- a/pkg/release/util/kind_sorter.go +++ b/pkg/release/util/kind_sorter.go @@ -64,18 +64,18 @@ var InstallOrder KindSortOrder = []string{ "CronJob", "IngressClass", "Ingress", - "APIService", "MutatingWebhookConfiguration", "ValidatingWebhookConfiguration", + "APIService", } // 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. var UninstallOrder KindSortOrder = []string{ + "APIService", "ValidatingWebhookConfiguration", "MutatingWebhookConfiguration", - "APIService", "Ingress", "IngressClass", "Service",