From c58c02fcf9b291e538ab30a43a4aa43d097896d2 Mon Sep 17 00:00:00 2001 From: Kermit Alexander Date: Wed, 8 Jun 2022 17:40:50 +0000 Subject: [PATCH] Ensure estimated cost limit is exceeded. --- test/e2e/apimachinery/crd_validation_rules.go | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test/e2e/apimachinery/crd_validation_rules.go b/test/e2e/apimachinery/crd_validation_rules.go index 56b138a5acb..bdc7c5c2eb2 100644 --- a/test/e2e/apimachinery/crd_validation_rules.go +++ b/test/e2e/apimachinery/crd_validation_rules.go @@ -196,14 +196,17 @@ var _ = SIGDescribe("CustomResourceValidationRules [Privileged:ClusterAdmin][Alp "properties": { "spec": { "type": "object", - "x-kubernetes-validations": [{ - "rule": "self.x.all(s, s == \"string constant\")" - }], "properties": { "x": { "type": "array", "items": { - "type": "string" + "type": "array", + "items": { + "type": "string" + }, + "x-kubernetes-validations": [{ + "rule": "self.all(s, s == \"string constant\")" + }] } } }