Add NetworkPolicy in kind sorter

Signed-off-by: Christophe GASMI <rekcah78@gmail.com>
pull/6266/head
Christophe Gasmi 6 years ago committed by Christophe GASMI
parent df5ca23a41
commit 7c70c7bec1

@ -28,6 +28,7 @@ type SortOrder []string
// Those occurring earlier in the list get installed before those occurring later in the list. // Those occurring earlier in the list get installed before those occurring later in the list.
var InstallOrder SortOrder = []string{ var InstallOrder SortOrder = []string{
"Namespace", "Namespace",
"NetworkPolicy",
"ResourceQuota", "ResourceQuota",
"LimitRange", "LimitRange",
"PodSecurityPolicy", "PodSecurityPolicy",
@ -96,6 +97,7 @@ var UninstallOrder SortOrder = []string{
"PodSecurityPolicy", "PodSecurityPolicy",
"LimitRange", "LimitRange",
"ResourceQuota", "ResourceQuota",
"NetworkPolicy",
"Namespace", "Namespace",
} }

Loading…
Cancel
Save