Add priorityclasses to high priority restore list

Fixes #4201: Ensure PriorityClasses are restored before pods that
reference them, preventing restoration failures when pods depend on
custom PriorityClasses.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
This commit is contained in:
Tiger Kaovilai
2025-08-11 19:24:58 -05:00
co-authored by Claude
parent 9a82bcfac1
commit 84b33efc2e
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
Add priorityclasses to high priority restore list
+1
View File
@@ -117,6 +117,7 @@ var (
"secrets",
"configmaps",
"limitranges",
"priorityclasses",
"pods",
// we fully qualify replicasets.apps because prior to Kubernetes 1.16, replicasets also
// existed in the extensions API group, but we back up replicasets from "apps" so we want