Skip to content

Commit

Permalink
add PriorityClass to resource creation/deletion order
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya authored Aug 30, 2024
1 parent 70cc906 commit 80596e9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/operator/client/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ import (
)

var (
// These lists are inspired by Helm: https://github.com/helm/helm/blob/v3.11.3/pkg/releaseutil/kind_sorter.go
// These lists are inspired by Helm: https://github.com/helm/helm/blob/v3.15.4/pkg/releaseutil/kind_sorter.go
// Unknown kinds are created last.
KindCreationOrder = []string{
"PriorityClass",
"Namespace",
"NetworkPolicy",
"ResourceQuota",
Expand Down Expand Up @@ -87,6 +88,7 @@ var (
"ResourceQuota",
"NetworkPolicy",
"Namespace",
"PriorityClass",
}
)

Expand Down

0 comments on commit 80596e9

Please sign in to comment.