Skip to content

Commit

Permalink
add PriorityClass to resource creation/deletion order (#4853)
Browse files Browse the repository at this point in the history
  • Loading branch information
laverya authored Aug 30, 2024
1 parent b5fcd3b commit 55caae2
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 55caae2

Please sign in to comment.