Skip to content

Commit acbab5b

Browse files
committed
update test fixture
Signed-off-by: Gaurav Gahlot <gaurav.gahlot@ionos.com>
1 parent 1718b51 commit acbab5b

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

test/e2e/yaml/webhookInvalidConfiguration.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ spec:
1616
descriptions: ["foo", "bar"]
1717
brokerSpec:
1818
brokerPodSpec:
19-
resources:
20-
limits:
21-
"{{PLACEHOLDER}}": "1"
19+
# Unknown field on PodSpec — dropped on typed round-trip, causing the
20+
# webhook to detect a mismatch and reject the Configuration.
21+
# The original fixture relied on `resources` at the PodSpec level being
22+
# schema-invalid; that's no longer true as of k8s 1.32 (PodLevelResources
23+
# alpha), so a synthetic unknown field is used instead.
24+
akriUnknownPodField: this_field_does_not_exist
2225
containers:
2326
- name: test-broker
2427
image: "nginx:stable-alpine"

0 commit comments

Comments
 (0)