test(e2e): bug on PodPriorityClass case

This commit is contained in:
Dario Tranchitella
2021-06-12 09:51:29 +02:00
parent 006b0c80cf
commit 08fbd26ec8

View File

@@ -22,7 +22,7 @@ var _ = Describe("enforcing a Priority Class", func() {
Name: "priority-class",
Annotations: map[string]string{
"priorityclass.capsule.clastix.io/allowed": "gold",
"priorityclass.capsule.clastix.io/allowed-regex": "pc-silver,pc-bronze-pc-gold",
"priorityclass.capsule.clastix.io/allowed-regex": "pc\\-\\w+",
},
},
Spec: v1alpha1.TenantSpec{