From 663dfed568990006f43544b77d13cc9c8c7dd532 Mon Sep 17 00:00:00 2001 From: Aaron Schlesinger Date: Thu, 6 Jul 2017 14:21:32 -0700 Subject: [PATCH] Adding APIService to the sort order This ensures that APIService resources are installed last and uninstalled first --- pkg/tiller/kind_sorter.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/tiller/kind_sorter.go b/pkg/tiller/kind_sorter.go index f08d13569..fbeb75c35 100644 --- a/pkg/tiller/kind_sorter.go +++ b/pkg/tiller/kind_sorter.go @@ -49,12 +49,14 @@ var InstallOrder SortOrder = []string{ "Job", "CronJob", "Ingress", + "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 SortOrder = []string{ + "APIService", "Ingress", "Service", "CronJob",